#210F6E#210F6E

#210F6E is a dark, vivid violet. Relative luminance 0.018; OKLCH L 27.8% C 0.148 H 279.3°. Best body text is #FFFFFF at 15.46:1 contrast (WCAG AA passes).

Color values

HEX#210F6E
RGBrgb(33, 15, 110)
HSLhsl(251, 76%, 25%)
HSVhsv(251, 86%, 43%)
CMYKcmyk(70%, 86.4%, 0%, 56.9%)
CIE-LABlab(14.35, 37.29, -50.75)
CIE-LCHlch(14.35, 62.98, 306.31°)
OKLaboklab(27.85% 0.0241 -0.1465)
OKLCHoklch(27.85% 0.149 279.3)
XYZxyz(3.6116, 1.7905, 14.9041)
Luminance0.0179 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210F6E #5C6E0F
analogous
#0F2D6E #210F6E #500F6E
triadic
#210F6E #6E210F #0F6E21
tetradic
#210F6E #6E0F2D #5C6E0F #0F6E50
square
#210F6E #6E0F2D #5C6E0F #0F6E50
split-complementary
#210F6E #6E500F #2D6E0F
monochromatic
#08041B #110838 #210F6E #3116A4 #411EDA

Accessibility & contrast

On white

15.46
#210F6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#210F6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #210F6E
15.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210F6E#FFFFFF#000000##FFFFFF
##210F6E1.0015.461.3615.46
#FFFFFF15.461.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002871
Deuteranopia (green-blind)
#00216C
Tritanopia (blue-blind)
#002D40
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #210f6e;
/* rgb */ color: rgb(33, 15, 110);
/* oklch */ color: oklch(27.8% 0.148 279.3);
Tailwind
colors: {
  custom: {
    50: '#695199',
    500: '#210f6e',
    950: '#000000',
  },
}
SCSS
$custom: #210f6e;
$custom-light: #695199;
$custom-dark: #000000;
JSON
{
  "hex": "#210f6e",
  "rgb": {
    "r": 33,
    "g": 15,
    "b": 110
  },
  "hsl": {
    "h": 251.368,
    "s": 76,
    "l": 24.51
  },
  "oklch": {
    "l": 0.27847,
    "c": 0.1485,
    "h": 279.3
  },
  "luminance": 0.01791
}

Semantic roles & 50–950 ramp

primary
#210F6E
secondary
#90A633
accent
#F335CF
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #210F6E

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

Preview Lab → · Contrast checker → · Palette generator →

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