#51369E#51369E

#51369E is a dark, vivid violet. Relative luminance 0.069; OKLCH L 42.6% C 0.160 H 289.8°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#51369E
RGBrgb(81, 54, 158)
HSLhsl(256, 49%, 42%)
HSVhsv(256, 66%, 62%)
CMYKcmyk(48.7%, 65.8%, 0%, 38%)
CIE-LABlab(31.48, 38.15, -52.61)
CIE-LCHlch(31.48, 64.99, 305.95°)
OKLaboklab(42.57% 0.0542 -0.1507)
OKLCHoklch(42.57% 0.16 289.8)
XYZxyz(10.8823, 6.8559, 33.0910)
Luminance0.0686 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51369E #839E36
analogous
#364F9E #51369E #85369E
triadic
#51369E #9E5136 #369E51
tetradic
#51369E #9E364F #839E36 #369E85
square
#51369E #9E364F #839E36 #369E85
split-complementary
#51369E #9E8536 #4F9E36
monochromatic
#221743 #3A2670 #51369E #6D4FC3 #927CD2

Accessibility & contrast

On white

8.86
#51369E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#51369E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51369E
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51369E#FFFFFF#000000##FFFFFF
##51369E1.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA1
Deuteranopia (green-blind)
#00489C
Tritanopia (blue-blind)
#384F65
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #51369e;
/* rgb */ color: rgb(81, 54, 158);
/* oklch */ color: oklch(42.6% 0.160 289.8);
Tailwind
colors: {
  custom: {
    50: '#896fbb',
    500: '#51369e',
    950: '#000000',
  },
}
SCSS
$custom: #51369e;
$custom-light: #896fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#51369e",
  "rgb": {
    "r": 81,
    "g": 54,
    "b": 158
  },
  "hsl": {
    "h": 255.577,
    "s": 49.057,
    "l": 41.569
  },
  "oklch": {
    "l": 0.42567,
    "c": 0.16012,
    "h": 289.8
  },
  "luminance": 0.06856
}

Semantic roles & 50–950 ramp

primary
#51369E
secondary
#A9BB74
accent
#D94FB5
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0712
muted
#7D7A81

Preview Lab

Preview with #51369E

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#51369E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva