#210F4D#210F4D

#210F4D is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.1% C 0.106 H 289.2°. Best body text is #FFFFFF at 16.93:1 contrast (WCAG AA passes).

Color values

HEX#210F4D
RGBrgb(33, 15, 77)
HSLhsl(257, 67%, 18%)
HSVhsv(257, 81%, 30%)
CMYKcmyk(57.1%, 80.5%, 0%, 69.8%)
CIE-LABlab(10.56, 26.63, -34.85)
CIE-LCHlch(10.56, 43.86, 307.39°)
OKLaboklab(24.08% 0.0348 -0.1001)
OKLCHoklch(24.08% 0.106 289.2)
XYZxyz(2.1372, 1.2007, 7.1389)
Luminance0.0120 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210F4D #3B4D0F
analogous
#0F1C4D #210F4D #400F4D
triadic
#210F4D #4D210F #0F4D21
tetradic
#210F4D #4D0F1C #3B4D0F #0F4D40
square
#210F4D #4D0F1C #3B4D0F #0F4D40
split-complementary
#210F4D #4D400F #1C4D0F
monochromatic
#0B051A #0B051A #210F4D #371980 #4D23B3

Accessibility & contrast

On white

16.93
#210F4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#210F4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #210F4D
16.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210F4D#FFFFFF#000000##FFFFFF
##210F4D1.0016.931.2416.93
#FFFFFF16.931.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E4F
Deuteranopia (green-blind)
#001B4C
Tritanopia (blue-blind)
#11202D
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #210f4d;
/* rgb */ color: rgb(33, 15, 77);
/* oklch */ color: oklch(24.1% 0.106 289.2);
Tailwind
colors: {
  custom: {
    50: '#624f7f',
    500: '#210f4d',
    950: '#000000',
  },
}
SCSS
$custom: #210f4d;
$custom-light: #624f7f;
$custom-dark: #000000;
JSON
{
  "hex": "#210f4d",
  "rgb": {
    "r": 33,
    "g": 15,
    "b": 77
  },
  "hsl": {
    "h": 257.419,
    "s": 67.391,
    "l": 18.039
  },
  "oklch": {
    "l": 0.24082,
    "c": 0.106,
    "h": 289.2
  },
  "luminance": 0.01201
}

Semantic roles & 50–950 ramp

primary
#210F4D
secondary
#6E8731
accent
#EA3EB8
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#05020A
muted
#7A787C

Preview Lab

Preview with #210F4D

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

Preview Lab → · Contrast checker → · Palette generator →

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