#210F59#210F59

#210F59 is a dark, vivid violet. Relative luminance 0.014; OKLCH L 25.4% C 0.122 H 284.8°. Best body text is #FFFFFF at 16.44:1 contrast (WCAG AA passes).

Color values

HEX#210F59
RGBrgb(33, 15, 89)
HSLhsl(255, 71%, 20%)
HSVhsv(255, 83%, 35%)
CMYKcmyk(62.9%, 83.1%, 0%, 65.1%)
CIE-LABlab(11.86, 30.56, -40.91)
CIE-LCHlch(11.86, 51.06, 306.76°)
OKLaboklab(25.39% 0.0312 -0.1179)
OKLCHoklch(25.39% 0.122 284.8)
XYZxyz(2.6006, 1.3861, 9.5798)
Luminance0.0139 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210F59 #47590F
analogous
#0F2259 #210F59 #460F59
triadic
#210F59 #59210F #0F5921
tetradic
#210F59 #590F22 #47590F #0F5946
square
#210F59 #590F22 #47590F #0F5946
split-complementary
#210F59 #59460F #22590F
monochromatic
#0A041A #0E0625 #210F59 #34188D #4821C2

Accessibility & contrast

On white

16.44
#210F59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #210F59
16.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210F59#FFFFFF#000000##FFFFFF
##210F591.0016.441.2816.44
#FFFFFF16.441.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00215B
Deuteranopia (green-blind)
#001D58
Tritanopia (blue-blind)
#032434
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #210f59;
/* rgb */ color: rgb(33, 15, 89);
/* oklch */ color: oklch(25.4% 0.122 284.8);
Tailwind
colors: {
  custom: {
    50: '#655089',
    500: '#210f59',
    950: '#000000',
  },
}
SCSS
$custom: #210f59;
$custom-light: #655089;
$custom-dark: #000000;
JSON
{
  "hex": "#210f59",
  "rgb": {
    "r": 33,
    "g": 15,
    "b": 89
  },
  "hsl": {
    "h": 254.595,
    "s": 71.154,
    "l": 20.392
  },
  "oklch": {
    "l": 0.25392,
    "c": 0.12193,
    "h": 284.8
  },
  "luminance": 0.01386
}

Semantic roles & 50–950 ramp

primary
#210F59
secondary
#7B9331
accent
#EE3AC2
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020B
muted
#7A787C

Preview Lab

Preview with #210F59

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

Preview Lab → · Contrast checker → · Palette generator →

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