#210F66#210F66

#210F66 is a dark, vivid violet. Relative luminance 0.016; OKLCH L 26.9% C 0.139 H 281.2°. Best body text is #FFFFFF at 15.85:1 contrast (WCAG AA passes).

Color values

HEX#210F66
RGBrgb(33, 15, 102)
HSLhsl(252, 74%, 23%)
HSVhsv(252, 85%, 40%)
CMYKcmyk(67.6%, 85.3%, 0%, 60%)
CIE-LABlab(13.38, 34.76, -47.10)
CIE-LCHlch(13.38, 58.54, 306.42°)
OKLaboklab(26.89% 0.0268 -0.1359)
OKLCHoklch(26.89% 0.139 281.2)
XYZxyz(3.1955, 1.6240, 12.7129)
Luminance0.0162 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210F66 #54660F
analogous
#0F2866 #210F66 #4C0F66
triadic
#210F66 #66210F #0F6621
tetradic
#210F66 #660F28 #54660F #0F664C
square
#210F66 #660F28 #54660F #0F664C
split-complementary
#210F66 #664C0F #28660F
monochromatic
#09041B #100731 #210F66 #32179B #441FD1

Accessibility & contrast

On white

15.85
#210F66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#210F66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #210F66
15.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210F66#FFFFFF#000000##FFFFFF
##210F661.0015.851.3215.85
#FFFFFF15.851.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002568
Deuteranopia (green-blind)
#001F64
Tritanopia (blue-blind)
#002A3B
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #210f66;
/* rgb */ color: rgb(33, 15, 102);
/* oklch */ color: oklch(26.9% 0.139 281.2);
Tailwind
colors: {
  custom: {
    50: '#685193',
    500: '#210f66',
    950: '#000000',
  },
}
SCSS
$custom: #210f66;
$custom-light: #685193;
$custom-dark: #000000;
JSON
{
  "hex": "#210f66",
  "rgb": {
    "r": 33,
    "g": 15,
    "b": 102
  },
  "hsl": {
    "h": 252.414,
    "s": 74.359,
    "l": 22.941
  },
  "oklch": {
    "l": 0.26892,
    "c": 0.13855,
    "h": 281.2
  },
  "luminance": 0.01624
}

Semantic roles & 50–950 ramp

primary
#210F66
secondary
#889F32
accent
#F137CA
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#07020D
muted
#7A787E

Preview Lab

Preview with #210F66

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

Preview Lab → · Contrast checker → · Palette generator →

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