#210A36#210A36

#210A36 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.0% C 0.082 H 304.0°. Best body text is #FFFFFF at 18.08:1 contrast (WCAG AA passes).

Color values

HEX#210A36
RGBrgb(33, 10, 54)
HSLhsl(271, 69%, 13%)
HSVhsv(271, 81%, 21%)
CMYKcmyk(38.9%, 81.5%, 0%, 78.8%)
CIE-LABlab(7.29, 22.23, -23.87)
CIE-LCHlch(7.29, 32.62, 312.96°)
OKLaboklab(21.04% 0.0459 -0.068)
OKLCHoklch(21.04% 0.082 304)
XYZxyz(1.4014, 0.8068, 3.5712)
Luminance0.0081 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210A36 #1F360A
analogous
#0B0A36 #210A36 #360A35
triadic
#210A36 #36210A #0A3621
tetradic
#210A36 #360B0A #1F360A #0A3536
square
#210A36 #360B0A #1F360A #0A3536
split-complementary
#210A36 #35360A #0A360B
monochromatic
#10051A #10051A #210A36 #41146A #601D9D

Accessibility & contrast

On white

18.08
#210A36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#210A36 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #210A36
18.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210A36#FFFFFF#000000##FFFFFF
##210A361.0018.081.1618.08
#FFFFFF18.081.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001637
Deuteranopia (green-blind)
#001635
Tritanopia (blue-blind)
#1D141F
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #210a36;
/* rgb */ color: rgb(33, 10, 54);
/* oklch */ color: oklch(21.0% 0.082 304.0);
Tailwind
colors: {
  custom: {
    50: '#5f4b6d',
    500: '#210a36',
    950: '#000000',
  },
}
SCSS
$custom: #210a36;
$custom-light: #5f4b6d;
$custom-dark: #000000;
JSON
{
  "hex": "#210a36",
  "rgb": {
    "r": 33,
    "g": 10,
    "b": 54
  },
  "hsl": {
    "h": 271.364,
    "s": 68.75,
    "l": 12.549
  },
  "oklch": {
    "l": 0.21043,
    "c": 0.08203,
    "h": 304
  },
  "luminance": 0.00807
}

Semantic roles & 50–950 ramp

primary
#210A36
secondary
#4C7328
accent
#EC3C90
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#050107
muted
#79777A

Preview Lab

Preview with #210A36

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

Preview Lab → · Contrast checker → · Palette generator →

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