#210F36#210F36

#210F36 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.9% C 0.074 H 301.9°. Best body text is #FFFFFF at 17.70:1 contrast (WCAG AA passes).

Color values

HEX#210F36
RGBrgb(33, 15, 54)
HSLhsl(268, 57%, 14%)
HSVhsv(268, 72%, 21%)
CMYKcmyk(38.9%, 72.2%, 0%, 78.8%)
CIE-LABlab(8.41, 19.20, -22.07)
CIE-LCHlch(8.41, 29.25, 311.03°)
OKLaboklab(21.86% 0.0389 -0.0626)
OKLCHoklch(21.86% 0.074 301.9)
XYZxyz(1.4637, 0.9313, 3.5920)
Luminance0.0093 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210F36 #24360F
analogous
#0F1036 #210F36 #340F36
triadic
#210F36 #36210F #0F3621
tetradic
#210F36 #360F10 #24360F #0F3634
square
#210F36 #360F10 #24360F #0F3634
split-complementary
#210F36 #36340F #10360F
monochromatic
#0F0718 #0F0718 #210F36 #3E1C66 #5C2A96

Accessibility & contrast

On white

17.70
#210F36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#210F36 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #210F36
17.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210F36#FFFFFF#000000##FFFFFF
##210F361.0017.701.1917.70
#FFFFFF17.701.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001837
Deuteranopia (green-blind)
#041835
Tritanopia (blue-blind)
#1D1720
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #210f36;
/* rgb */ color: rgb(33, 15, 54);
/* oklch */ color: oklch(21.9% 0.074 301.9);
Tailwind
colors: {
  custom: {
    50: '#5e4e6d',
    500: '#210f36',
    950: '#000000',
  },
}
SCSS
$custom: #210f36;
$custom-light: #5e4e6d;
$custom-dark: #000000;
JSON
{
  "hex": "#210f36",
  "rgb": {
    "r": 33,
    "g": 15,
    "b": 54
  },
  "hsl": {
    "h": 267.692,
    "s": 56.522,
    "l": 13.529
  },
  "oklch": {
    "l": 0.21864,
    "c": 0.07368,
    "h": 301.9
  },
  "luminance": 0.00931
}

Semantic roles & 50–950 ramp

primary
#210F36
secondary
#537031
accent
#E0489A
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040107
muted
#79777A

Preview Lab

Preview with #210F36

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

Preview Lab → · Contrast checker → · Palette generator →

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