#210F5A#210F5A

#210F5A is a dark, vivid violet. Relative luminance 0.014; OKLCH L 25.5% C 0.123 H 284.5°. Best body text is #FFFFFF at 16.40:1 contrast (WCAG AA passes).

Color values

HEX#210F5A
RGBrgb(33, 15, 90)
HSLhsl(254, 71%, 21%)
HSVhsv(254, 83%, 35%)
CMYKcmyk(63.3%, 83.3%, 0%, 64.7%)
CIE-LABlab(11.98, 30.89, -41.40)
CIE-LCHlch(11.98, 51.65, 306.72°)
OKLaboklab(25.5% 0.0309 -0.1193)
OKLCHoklch(25.5% 0.123 284.5)
XYZxyz(2.6429, 1.4030, 9.8024)
Luminance0.0140 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210F5A #485A0F
analogous
#0F225A #210F5A #460F5A
triadic
#210F5A #5A210F #0F5A21
tetradic
#210F5A #5A0F22 #485A0F #0F5A46
square
#210F5A #5A0F22 #485A0F #0F5A46
split-complementary
#210F5A #5A460F #225A0F
monochromatic
#0A041A #0E0626 #210F5A #34188E #4720C3

Accessibility & contrast

On white

16.40
#210F5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #210F5A
16.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210F5A#FFFFFF#000000##FFFFFF
##210F5A1.0016.401.2816.40
#FFFFFF16.401.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00225C
Deuteranopia (green-blind)
#001D59
Tritanopia (blue-blind)
#012534
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #210f5a;
/* rgb */ color: rgb(33, 15, 90);
/* oklch */ color: oklch(25.5% 0.123 284.5);
Tailwind
colors: {
  custom: {
    50: '#65508a',
    500: '#210f5a',
    950: '#000000',
  },
}
SCSS
$custom: #210f5a;
$custom-light: #65508a;
$custom-dark: #000000;
JSON
{
  "hex": "#210f5a",
  "rgb": {
    "r": 33,
    "g": 15,
    "b": 90
  },
  "hsl": {
    "h": 254.4,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.25504,
    "c": 0.12323,
    "h": 284.5
  },
  "luminance": 0.01403
}

Semantic roles & 50–950 ramp

primary
#210F5A
secondary
#7C9431
accent
#EE3AC3
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #210F5A

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

Preview Lab → · Contrast checker → · Palette generator →

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