#51369F#51369F

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

Color values

HEX#51369F
RGBrgb(81, 54, 159)
HSLhsl(255, 49%, 42%)
HSVhsv(255, 66%, 62%)
CMYKcmyk(49.1%, 66%, 0%, 37.6%)
CIE-LABlab(31.56, 38.45, -53.09)
CIE-LCHlch(31.56, 65.55, 305.91°)
OKLaboklab(42.65% 0.0541 -0.1521)
OKLCHoklch(42.65% 0.161 289.6)
XYZxyz(10.9687, 6.8904, 33.5462)
Luminance0.0689 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51369F #849F36
analogous
#364F9F #51369F #86369F
triadic
#51369F #9F5136 #369F51
tetradic
#51369F #9F364F #849F36 #369F86
square
#51369F #9F364F #849F36 #369F86
split-complementary
#51369F #9F8636 #4F9F36
monochromatic
#221744 #3A2671 #51369F #6D4FC3 #937DD3

Accessibility & contrast

On white

8.83
#51369F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#51369F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51369F
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51369F#FFFFFF#000000##FFFFFF
##51369F1.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA2
Deuteranopia (green-blind)
#00489D
Tritanopia (blue-blind)
#374F65
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #51369f;
/* rgb */ color: rgb(81, 54, 159);
/* oklch */ color: oklch(42.6% 0.161 289.6);
Tailwind
colors: {
  custom: {
    50: '#896fbc',
    500: '#51369f',
    950: '#000000',
  },
}
SCSS
$custom: #51369f;
$custom-light: #896fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#51369f",
  "rgb": {
    "r": 81,
    "g": 54,
    "b": 159
  },
  "hsl": {
    "h": 255.429,
    "s": 49.296,
    "l": 41.765
  },
  "oklch": {
    "l": 0.4265,
    "c": 0.1614,
    "h": 289.6
  },
  "luminance": 0.06891
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #51369F

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

Preview Lab → · Contrast checker → · Palette generator →

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