#210F62#210F62

#210F62 is a dark, vivid violet. Relative luminance 0.015; OKLCH L 26.4% C 0.134 H 282.2°. Best body text is #FFFFFF at 16.04:1 contrast (WCAG AA passes).

Color values

HEX#210F62
RGBrgb(33, 15, 98)
HSLhsl(253, 73%, 22%)
HSVhsv(253, 85%, 38%)
CMYKcmyk(66.3%, 84.7%, 0%, 61.6%)
CIE-LABlab(12.90, 33.47, -45.24)
CIE-LCHlch(12.90, 56.27, 306.50°)
OKLaboklab(26.42% 0.0282 -0.1305)
OKLCHoklch(26.42% 0.134 282.2)
XYZxyz(3.0019, 1.5466, 11.6932)
Luminance0.0155 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210F62 #50620F
analogous
#0F2762 #210F62 #4B0F62
triadic
#210F62 #62210F #0F6221
tetradic
#210F62 #620F27 #50620F #0F624B
square
#210F62 #620F27 #50620F #0F624B
split-complementary
#210F62 #624B0F #27620F
monochromatic
#09041B #0F072D #210F62 #331797 #451FCC

Accessibility & contrast

On white

16.04
#210F62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#210F62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #210F62
16.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210F62#FFFFFF#000000##FFFFFF
##210F621.0016.041.3116.04
#FFFFFF16.041.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002464
Deuteranopia (green-blind)
#001E61
Tritanopia (blue-blind)
#002839
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #210f62;
/* rgb */ color: rgb(33, 15, 98);
/* oklch */ color: oklch(26.4% 0.134 282.2);
Tailwind
colors: {
  custom: {
    50: '#675190',
    500: '#210f62',
    950: '#000000',
  },
}
SCSS
$custom: #210f62;
$custom-light: #675190;
$custom-dark: #000000;
JSON
{
  "hex": "#210f62",
  "rgb": {
    "r": 33,
    "g": 15,
    "b": 98
  },
  "hsl": {
    "h": 253.012,
    "s": 73.451,
    "l": 22.157
  },
  "oklch": {
    "l": 0.26423,
    "c": 0.1335,
    "h": 282.2
  },
  "luminance": 0.01547
}

Semantic roles & 50–950 ramp

primary
#210F62
secondary
#849B32
accent
#F038C8
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07020D
muted
#7A787D

Preview Lab

Preview with #210F62

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

Preview Lab → · Contrast checker → · Palette generator →

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