#210A37#210A37

#210A37 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.1% C 0.083 H 303.3°. Best body text is #FFFFFF at 18.05:1 contrast (WCAG AA passes).

Color values

HEX#210A37
RGBrgb(33, 10, 55)
HSLhsl(271, 69%, 13%)
HSVhsv(271, 82%, 22%)
CMYKcmyk(40%, 81.8%, 0%, 78.4%)
CIE-LABlab(7.37, 22.55, -24.46)
CIE-LCHlch(7.37, 33.27, 312.67°)
OKLaboklab(21.14% 0.0457 -0.0697)
OKLCHoklch(21.14% 0.083 303.3)
XYZxyz(1.4252, 0.8163, 3.6962)
Luminance0.0082 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210A37 #20370A
analogous
#0B0A37 #210A37 #370A36
triadic
#210A37 #37210A #0A3721
tetradic
#210A37 #370B0A #20370A #0A3637
square
#210A37 #370B0A #20370A #0A3637
split-complementary
#210A37 #36370A #0A370B
monochromatic
#10051A #10051A #210A37 #40136B #5F1D9F

Accessibility & contrast

On white

18.05
#210A37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #210A37
18.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210A37#FFFFFF#000000##FFFFFF
##210A371.0018.051.1618.05
#FFFFFF18.051.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001638
Deuteranopia (green-blind)
#001636
Tritanopia (blue-blind)
#1D151F
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #210a37;
/* rgb */ color: rgb(33, 10, 55);
/* oklch */ color: oklch(21.1% 0.083 303.3);
Tailwind
colors: {
  custom: {
    50: '#5f4b6e',
    500: '#210a37',
    950: '#000000',
  },
}
SCSS
$custom: #210a37;
$custom-light: #5f4b6e;
$custom-dark: #000000;
JSON
{
  "hex": "#210a37",
  "rgb": {
    "r": 33,
    "g": 10,
    "b": 55
  },
  "hsl": {
    "h": 270.667,
    "s": 69.231,
    "l": 12.745
  },
  "oklch": {
    "l": 0.21136,
    "c": 0.08335,
    "h": 303.3
  },
  "luminance": 0.00816
}

Semantic roles & 50–950 ramp

primary
#210A37
secondary
#4E7428
accent
#EC3C92
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#050107
muted
#79777A

Preview Lab

Preview with #210A37

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

Preview Lab → · Contrast checker → · Palette generator →

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