#210F5D#210F5D

#210F5D is a dark, vivid violet. Relative luminance 0.015; OKLCH L 25.8% C 0.127 H 283.6°. Best body text is #FFFFFF at 16.27:1 contrast (WCAG AA passes).

Color values

HEX#210F5D
RGBrgb(33, 15, 93)
HSLhsl(254, 72%, 21%)
HSVhsv(254, 84%, 36%)
CMYKcmyk(64.5%, 83.9%, 0%, 63.5%)
CIE-LABlab(12.32, 31.86, -42.85)
CIE-LCHlch(12.32, 53.40, 306.63°)
OKLaboklab(25.85% 0.0299 -0.1235)
OKLCHoklch(25.85% 0.127 283.6)
XYZxyz(2.7732, 1.4551, 10.4885)
Luminance0.0146 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210F5D #4B5D0F
analogous
#0F245D #210F5D #480F5D
triadic
#210F5D #5D210F #0F5D21
tetradic
#210F5D #5D0F24 #4B5D0F #0F5D48
square
#210F5D #5D0F24 #4B5D0F #0F5D48
split-complementary
#210F5D #5D480F #245D0F
monochromatic
#09041A #0E0628 #210F5D #341792 #4620C6

Accessibility & contrast

On white

16.27
#210F5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#210F5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #210F5D
16.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210F5D#FFFFFF#000000##FFFFFF
##210F5D1.0016.271.2916.27
#FFFFFF16.271.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00225F
Deuteranopia (green-blind)
#001E5C
Tritanopia (blue-blind)
#002636
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #210f5d;
/* rgb */ color: rgb(33, 15, 93);
/* oklch */ color: oklch(25.8% 0.127 283.6);
Tailwind
colors: {
  custom: {
    50: '#65508c',
    500: '#210f5d',
    950: '#000000',
  },
}
SCSS
$custom: #210f5d;
$custom-light: #65508c;
$custom-dark: #000000;
JSON
{
  "hex": "#210f5d",
  "rgb": {
    "r": 33,
    "g": 15,
    "b": 93
  },
  "hsl": {
    "h": 253.846,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.25845,
    "c": 0.12711,
    "h": 283.6
  },
  "luminance": 0.01455
}

Semantic roles & 50–950 ramp

primary
#210F5D
secondary
#7F9631
accent
#EF39C5
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #210F5D

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

Preview Lab → · Contrast checker → · Palette generator →

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