#210F58#210F58

#210F58 is a dark, vivid violet. Relative luminance 0.014; OKLCH L 25.3% C 0.121 H 285.1°. Best body text is #FFFFFF at 16.48:1 contrast (WCAG AA passes).

Color values

HEX#210F58
RGBrgb(33, 15, 88)
HSLhsl(255, 71%, 20%)
HSVhsv(255, 83%, 35%)
CMYKcmyk(62.5%, 83%, 0%, 65.5%)
CIE-LABlab(11.75, 30.23, -40.42)
CIE-LCHlch(11.75, 50.48, 306.80°)
OKLaboklab(25.28% 0.0315 -0.1164)
OKLCHoklch(25.28% 0.121 285.1)
XYZxyz(2.5589, 1.3694, 9.3601)
Luminance0.0137 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210F58 #46580F
analogous
#0F2158 #210F58 #460F58
triadic
#210F58 #58210F #0F5821
tetradic
#210F58 #580F21 #46580F #0F5846
square
#210F58 #580F21 #46580F #0F5846
split-complementary
#210F58 #58460F #21580F
monochromatic
#0A041A #0D0624 #210F58 #35188C #4821C1

Accessibility & contrast

On white

16.48
#210F58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#210F58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #210F58
16.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210F58#FFFFFF#000000##FFFFFF
##210F581.0016.481.2716.48
#FFFFFF16.481.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00215A
Deuteranopia (green-blind)
#001D57
Tritanopia (blue-blind)
#042433
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #210f58;
/* rgb */ color: rgb(33, 15, 88);
/* oklch */ color: oklch(25.3% 0.121 285.1);
Tailwind
colors: {
  custom: {
    50: '#645088',
    500: '#210f58',
    950: '#000000',
  },
}
SCSS
$custom: #210f58;
$custom-light: #645088;
$custom-dark: #000000;
JSON
{
  "hex": "#210f58",
  "rgb": {
    "r": 33,
    "g": 15,
    "b": 88
  },
  "hsl": {
    "h": 254.795,
    "s": 70.874,
    "l": 20.196
  },
  "oklch": {
    "l": 0.25279,
    "c": 0.12062,
    "h": 285.1
  },
  "luminance": 0.0137
}

Semantic roles & 50–950 ramp

primary
#210F58
secondary
#7A9231
accent
#EE3AC1
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020B
muted
#7A787C

Preview Lab

Preview with #210F58

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

Preview Lab → · Contrast checker → · Palette generator →

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