#210F4A#210F4A

#210F4A is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 23.8% C 0.102 H 290.4°. Best body text is #FFFFFF at 17.05:1 contrast (WCAG AA passes).

Color values

HEX#210F4A
RGBrgb(33, 15, 74)
HSLhsl(258, 66%, 17%)
HSVhsv(258, 80%, 29%)
CMYKcmyk(55.4%, 79.7%, 0%, 71%)
CIE-LABlab(10.25, 25.65, -33.27)
CIE-LCHlch(10.25, 42.01, 307.62°)
OKLaboklab(23.77% 0.0356 -0.0955)
OKLCHoklch(23.77% 0.102 290.4)
XYZxyz(2.0337, 1.1593, 6.5939)
Luminance0.0116 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210F4A #384A0F
analogous
#0F1B4A #210F4A #3E0F4A
triadic
#210F4A #4A210F #0F4A21
tetradic
#210F4A #4A0F1B #384A0F #0F4A3E
square
#210F4A #4A0F1B #384A0F #0F4A3E
split-complementary
#210F4A #4A3E0F #1B4A0F
monochromatic
#0B0519 #0B0519 #210F4A #38197D #4E24B0

Accessibility & contrast

On white

17.05
#210F4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#210F4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #210F4A
17.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210F4A#FFFFFF#000000##FFFFFF
##210F4A1.0017.051.2317.05
#FFFFFF17.051.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D4C
Deuteranopia (green-blind)
#001B49
Tritanopia (blue-blind)
#131F2B
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #210f4a;
/* rgb */ color: rgb(33, 15, 74);
/* oklch */ color: oklch(23.8% 0.102 290.4);
Tailwind
colors: {
  custom: {
    50: '#614f7d',
    500: '#210f4a',
    950: '#000000',
  },
}
SCSS
$custom: #210f4a;
$custom-light: #614f7d;
$custom-dark: #000000;
JSON
{
  "hex": "#210f4a",
  "rgb": {
    "r": 33,
    "g": 15,
    "b": 74
  },
  "hsl": {
    "h": 258.305,
    "s": 66.292,
    "l": 17.451
  },
  "oklch": {
    "l": 0.23768,
    "c": 0.10193,
    "h": 290.4
  },
  "luminance": 0.01159
}

Semantic roles & 50–950 ramp

primary
#210F4A
secondary
#6B8430
accent
#E93FB5
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#05020A
muted
#7A787C

Preview Lab

Preview with #210F4A

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

Preview Lab → · Contrast checker → · Palette generator →

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