# #51398c color: Blue Gem

#51398c is rgb(81, 57, 140) in RGB and oklch(41.651% 0.13211 293.125) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/51398c

## Formats

| Format | Value |
| --- | --- |
| HEX | #51398c |
| RGB | rgb(81, 57, 140) |
| HSL | hsl(257.35, 42.13%, 38.63%) |
| HSB / HSV | hsv(257.35 59.29% 54.9%) |
| HWB | hwb(257.35 22.35% 45.1%) |
| CMYK | cmyk(42% 59% 0% 45%) |
| Lab | lab(30.29 26.58 -43.29) |
| LCH | lch(30.29 50.8 301.55) |
| OKLab | oklab(41.651% 0.05188 -0.12149) |
| OKLCH | oklch(41.651% 0.13211 293.125) |
| Display P3 | color(display-p3 0.30341 0.22739 0.53029) |
| Rec. 2020 | color(rec2020 0.24636 0.17649 0.47888) |
| Adobe RGB | color(a98-rgb 0.2994 0.23378 0.53543) |
| ProPhoto RGB | color(prophoto-rgb 0.26873 0.19187 0.44536) |
| Linear sRGB | color(srgb-linear 0.08228 0.04092 0.26225) |
| XYZ D65 | color(xyz-d65 0.09589 0.06569 0.25575) |
| XYZ D50 | color(xyz-d50 0.08916 0.06354 0.19239) |
| SwiftUI | Color(red: 0.318, green: 0.224, blue: 0.549) |
| UIKit | UIColor(red: 0.318, green: 0.224, blue: 0.549, alpha: 1) |
| Flutter / Compose | Color(0xFF51398C) |
| Android XML | #51398C |

## Facts

- Closest name: Blue Gem
- Hue family: Violet, soft dark violet
- Closest Tailwind class: purple-900
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 9.08:1
- Contrast with black: 2.31:1

## Tints

#51398c, #604d98, #7060a4, #8073b0, #9186bc, #a29ac7, #b4add2, #c6c1de, #d9d6e9, #eceaf4

## Shades

#51398c, #453079, #3a2867, #2f1f55, #241743, #1a1033, #100923, #070414, #020107, #000001

## Tones

#51398c, #503c86, #4f3f80, #4f4179, #4e4373, #4e456d, #4d4767, #4d4860, #4c4a5a, #4c4b53

## Harmonies

- Complementary: #51398c, #4d5100
- Split: #51398c, #674500, #0b5d0e
- Analogous: #51398c, #234793, #6d2d75
- Triadic: #51398c, #7f3100, #005d47
- Tetradic: #51398c, #7e2452, #4d5100, #005d47
- Square: #51398c, #852427, #4d5100, #005a62
- Monochromatic: #51398c, #18003f, #331567, #725cb2, #9580da

## Questions about #51398c

### What color is #51398c?

#51398c is soft dark violet. The closest named color is Blue Gem. In RGB it is rgb(81, 57, 140), in HSL hsl(257.35, 42.13%, 38.63%) and in OKLCH oklch(41.651% 0.13211 293.125).

### What colors go well with #51398c?

The complementary color of #51398c is #4d5100. For a calmer combination use the analogous colors #234793 and #6d2d75. The triadic partners are #7f3100 and #005d47.

### Is white or black text more readable on #51398c?

White text reads better on #51398c: white gives a contrast ratio of 9.08:1 and black gives 2.31:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #51398c a warm or cool color?

#51398c is a cool color. In OKLCH its hue is 293 degrees, its lightness 41.7% and its chroma 0.132.
