#210F68#210F68

#210F68 is a dark, vivid violet. Relative luminance 0.017; OKLCH L 27.1% C 0.141 H 280.7°. Best body text is #FFFFFF at 15.76:1 contrast (WCAG AA passes).

Color values

HEX#210F68
RGBrgb(33, 15, 104)
HSLhsl(252, 75%, 23%)
HSVhsv(252, 86%, 41%)
CMYKcmyk(68.3%, 85.6%, 0%, 59.2%)
CIE-LABlab(13.62, 35.39, -48.03)
CIE-LCHlch(13.62, 59.66, 306.39°)
OKLaboklab(27.13% 0.0262 -0.1386)
OKLCHoklch(27.13% 0.141 280.7)
XYZxyz(3.2959, 1.6642, 13.2416)
Luminance0.0166 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210F68 #56680F
analogous
#0F2968 #210F68 #4D0F68
triadic
#210F68 #68210F #0F6821
tetradic
#210F68 #680F29 #56680F #0F684D
square
#210F68 #680F29 #56680F #0F684D
split-complementary
#210F68 #684D0F #29680F
monochromatic
#08041B #100733 #210F68 #32179D #431ED3

Accessibility & contrast

On white

15.76
#210F68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#210F68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #210F68
15.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210F68#FFFFFF#000000##FFFFFF
##210F681.0015.761.3315.76
#FFFFFF15.761.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00266A
Deuteranopia (green-blind)
#001F66
Tritanopia (blue-blind)
#002B3C
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #210f68;
/* rgb */ color: rgb(33, 15, 104);
/* oklch */ color: oklch(27.1% 0.141 280.7);
Tailwind
colors: {
  custom: {
    50: '#685194',
    500: '#210f68',
    950: '#000000',
  },
}
SCSS
$custom: #210f68;
$custom-light: #685194;
$custom-dark: #000000;
JSON
{
  "hex": "#210f68",
  "rgb": {
    "r": 33,
    "g": 15,
    "b": 104
  },
  "hsl": {
    "h": 252.135,
    "s": 74.79,
    "l": 23.333
  },
  "oklch": {
    "l": 0.27129,
    "c": 0.14106,
    "h": 280.7
  },
  "luminance": 0.01664
}

Semantic roles & 50–950 ramp

primary
#210F68
secondary
#8AA132
accent
#F136CC
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020D
muted
#7A787E

Preview Lab

Preview with #210F68

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

Preview Lab → · Contrast checker → · Palette generator →

#210F68 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva