#210A3E#210A3E

#210A3E is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.8% C 0.093 H 298.5°. Best body text is #FFFFFF at 17.83:1 contrast (WCAG AA passes).

Color values

HEX#210A3E
RGBrgb(33, 10, 62)
HSLhsl(267, 72%, 14%)
HSVhsv(267, 84%, 24%)
CMYKcmyk(46.8%, 83.9%, 0%, 75.7%)
CIE-LABlab(8.02, 24.73, -28.46)
CIE-LCHlch(8.02, 37.70, 310.99°)
OKLaboklab(21.82% 0.0441 -0.0813)
OKLCHoklch(21.82% 0.093 298.5)
XYZxyz(1.6050, 0.8882, 4.6434)
Luminance0.0089 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210A3E #273E0A
analogous
#0A0D3E #210A3E #3B0A3E
triadic
#210A3E #3E210A #0A3E21
tetradic
#210A3E #3E0A0D #273E0A #0A3E3B
square
#210A3E #3E0A0D #273E0A #0A3E3B
split-complementary
#210A3E #3E3B0A #0D3E0A
monochromatic
#0E041A #0E041A #210A3E #3D1373 #591BA7

Accessibility & contrast

On white

17.83
#210A3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#210A3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #210A3E
17.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210A3E#FFFFFF#000000##FFFFFF
##210A3E1.0017.831.1817.83
#FFFFFF17.831.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183F
Deuteranopia (green-blind)
#00173D
Tritanopia (blue-blind)
#1A1723
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #210a3e;
/* rgb */ color: rgb(33, 10, 62);
/* oklch */ color: oklch(21.8% 0.093 298.5);
Tailwind
colors: {
  custom: {
    50: '#604b74',
    500: '#210a3e',
    950: '#000000',
  },
}
SCSS
$custom: #210a3e;
$custom-light: #604b74;
$custom-dark: #000000;
JSON
{
  "hex": "#210a3e",
  "rgb": {
    "r": 33,
    "g": 10,
    "b": 62
  },
  "hsl": {
    "h": 266.538,
    "s": 72.222,
    "l": 14.118
  },
  "oklch": {
    "l": 0.21818,
    "c": 0.09253,
    "h": 298.5
  },
  "luminance": 0.00888
}

Semantic roles & 50–950 ramp

primary
#210A3E
secondary
#577B28
accent
#EF399E
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050108
muted
#79777B

Preview Lab

Preview with #210A3E

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

Preview Lab → · Contrast checker → · Palette generator →

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