#210F6A#210F6A

#210F6A is a dark, vivid violet. Relative luminance 0.017; OKLCH L 27.4% C 0.144 H 280.2°. Best body text is #FFFFFF at 15.66:1 contrast (WCAG AA passes).

Color values

HEX#210F6A
RGBrgb(33, 15, 106)
HSLhsl(252, 75%, 24%)
HSVhsv(252, 86%, 42%)
CMYKcmyk(68.9%, 85.8%, 0%, 58.4%)
CIE-LABlab(13.86, 36.03, -48.94)
CIE-LCHlch(13.86, 60.77, 306.36°)
OKLaboklab(27.37% 0.0255 -0.1413)
OKLCHoklch(27.37% 0.144 280.2)
XYZxyz(3.3987, 1.7053, 13.7829)
Luminance0.0171 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210F6A #586A0F
analogous
#0F2A6A #210F6A #4E0F6A
triadic
#210F6A #6A210F #0F6A21
tetradic
#210F6A #6A0F2A #586A0F #0F6A4E
square
#210F6A #6A0F2A #586A0F #0F6A4E
split-complementary
#210F6A #6A4E0F #2A6A0F
monochromatic
#08041B #100734 #210F6A #3217A0 #421ED5

Accessibility & contrast

On white

15.66
#210F6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#210F6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #210F6A
15.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210F6A#FFFFFF#000000##FFFFFF
##210F6A1.0015.661.3415.66
#FFFFFF15.661.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00266C
Deuteranopia (green-blind)
#002068
Tritanopia (blue-blind)
#002B3D
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #210f6a;
/* rgb */ color: rgb(33, 15, 106);
/* oklch */ color: oklch(27.4% 0.144 280.2);
Tailwind
colors: {
  custom: {
    50: '#695196',
    500: '#210f6a',
    950: '#000000',
  },
}
SCSS
$custom: #210f6a;
$custom-light: #695196;
$custom-dark: #000000;
JSON
{
  "hex": "#210f6a",
  "rgb": {
    "r": 33,
    "g": 15,
    "b": 106
  },
  "hsl": {
    "h": 251.868,
    "s": 75.207,
    "l": 23.725
  },
  "oklch": {
    "l": 0.27367,
    "c": 0.14355,
    "h": 280.2
  },
  "luminance": 0.01706
}

Semantic roles & 50–950 ramp

primary
#210F6A
secondary
#8CA232
accent
#F236CD
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020D
muted
#7A787E

Preview Lab

Preview with #210F6A

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

Preview Lab → · Contrast checker → · Palette generator →

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