#51369A#51369A

#51369A is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.2% C 0.155 H 290.7°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#51369A
RGBrgb(81, 54, 154)
HSLhsl(256, 48%, 41%)
HSVhsv(256, 65%, 60%)
CMYKcmyk(47.4%, 64.9%, 0%, 39.6%)
CIE-LABlab(31.16, 36.96, -50.69)
CIE-LCHlch(31.16, 62.74, 306.10°)
OKLaboklab(42.24% 0.0547 -0.145)
OKLCHoklch(42.24% 0.155 290.7)
XYZxyz(10.5436, 6.7204, 31.3072)
Luminance0.0672 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51369A #7F9A36
analogous
#364D9A #51369A #83369A
triadic
#51369A #9A5136 #369A51
tetradic
#51369A #9A364D #7F9A36 #369A83
square
#51369A #9A364D #7F9A36 #369A83
split-complementary
#51369A #9A8336 #4D9A36
monochromatic
#21163F #39266D #51369A #6C4DC0 #917AD0

Accessibility & contrast

On white

8.96
#51369A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#51369A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51369A
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51369A#FFFFFF#000000##FFFFFF
##51369A1.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9D
Deuteranopia (green-blind)
#004798
Tritanopia (blue-blind)
#3A4E63
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #51369a;
/* rgb */ color: rgb(81, 54, 154);
/* oklch */ color: oklch(42.2% 0.155 290.7);
Tailwind
colors: {
  custom: {
    50: '#886fb8',
    500: '#51369a',
    950: '#000000',
  },
}
SCSS
$custom: #51369a;
$custom-light: #886fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#51369a",
  "rgb": {
    "r": 81,
    "g": 54,
    "b": 154
  },
  "hsl": {
    "h": 256.2,
    "s": 48.077,
    "l": 40.784
  },
  "oklch": {
    "l": 0.4224,
    "c": 0.15498,
    "h": 290.7
  },
  "luminance": 0.06721
}

Semantic roles & 50–950 ramp

primary
#51369A
secondary
#A6B973
accent
#D850B3
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #51369A

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

Preview Lab → · Contrast checker → · Palette generator →

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