#210F5B#210F5B

#210F5B is a dark, vivid violet. Relative luminance 0.014; OKLCH L 25.6% C 0.125 H 284.2°. Best body text is #FFFFFF at 16.36:1 contrast (WCAG AA passes).

Color values

HEX#210F5B
RGBrgb(33, 15, 91)
HSLhsl(254, 72%, 21%)
HSVhsv(254, 84%, 36%)
CMYKcmyk(63.7%, 83.5%, 0%, 64.3%)
CIE-LABlab(12.09, 31.21, -41.89)
CIE-LCHlch(12.09, 52.24, 306.69°)
OKLaboklab(25.62% 0.0306 -0.1207)
OKLCHoklch(25.62% 0.125 284.2)
XYZxyz(2.6858, 1.4201, 10.0281)
Luminance0.0142 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210F5B #495B0F
analogous
#0F235B #210F5B #470F5B
triadic
#210F5B #5B210F #0F5B21
tetradic
#210F5B #5B0F23 #495B0F #0F5B47
square
#210F5B #5B0F23 #495B0F #0F5B47
split-complementary
#210F5B #5B470F #235B0F
monochromatic
#0A041A #0E0626 #210F5B #341890 #4720C4

Accessibility & contrast

On white

16.36
#210F5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#210F5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #210F5B
16.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210F5B#FFFFFF#000000##FFFFFF
##210F5B1.0016.361.2816.36
#FFFFFF16.361.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00225D
Deuteranopia (green-blind)
#001D5A
Tritanopia (blue-blind)
#002535
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #210f5b;
/* rgb */ color: rgb(33, 15, 91);
/* oklch */ color: oklch(25.6% 0.125 284.2);
Tailwind
colors: {
  custom: {
    50: '#65508a',
    500: '#210f5b',
    950: '#000000',
  },
}
SCSS
$custom: #210f5b;
$custom-light: #65508a;
$custom-dark: #000000;
JSON
{
  "hex": "#210f5b",
  "rgb": {
    "r": 33,
    "g": 15,
    "b": 91
  },
  "hsl": {
    "h": 254.211,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.25618,
    "c": 0.12453,
    "h": 284.2
  },
  "luminance": 0.0142
}

Semantic roles & 50–950 ramp

primary
#210F5B
secondary
#7D9531
accent
#EE39C4
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #210F5B

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

Preview Lab → · Contrast checker → · Palette generator →

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