#210F32#210F32

#210F32 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.5% C 0.068 H 305.1°. Best body text is #FFFFFF at 17.81:1 contrast (WCAG AA passes).

Color values

HEX#210F32
RGBrgb(33, 15, 50)
HSLhsl(271, 54%, 13%)
HSVhsv(271, 70%, 20%)
CMYKcmyk(34%, 70%, 0%, 80.4%)
CIE-LABlab(8.09, 17.97, -19.66)
CIE-LCHlch(8.09, 26.63, 312.43°)
OKLaboklab(21.53% 0.039 -0.0555)
OKLCHoklch(21.53% 0.068 305.1)
XYZxyz(1.3736, 0.8953, 3.1174)
Luminance0.0089 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210F32 #20320F
analogous
#0F0F32 #210F32 #320F31
triadic
#210F32 #32210F #0F3221
tetradic
#210F32 #320F0F #20320F #0F3132
square
#210F32 #320F0F #20320F #0F3132
split-complementary
#210F32 #31320F #0F320F
monochromatic
#100718 #100718 #210F32 #401D61 #5F2B90

Accessibility & contrast

On white

17.81
#210F32 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #210F32
17.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210F32#FFFFFF#000000##FFFFFF
##210F321.0017.811.1817.81
#FFFFFF17.811.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031733
Deuteranopia (green-blind)
#081831
Tritanopia (blue-blind)
#1E161E
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #210f32;
/* rgb */ color: rgb(33, 15, 50);
/* oklch */ color: oklch(21.5% 0.068 305.1);
Tailwind
colors: {
  custom: {
    50: '#5e4e6a',
    500: '#210f32',
    950: '#000000',
  },
}
SCSS
$custom: #210f32;
$custom-light: #5e4e6a;
$custom-dark: #000000;
JSON
{
  "hex": "#210f32",
  "rgb": {
    "r": 33,
    "g": 15,
    "b": 50
  },
  "hsl": {
    "h": 270.857,
    "s": 53.846,
    "l": 12.745
  },
  "oklch": {
    "l": 0.2153,
    "c": 0.06784,
    "h": 305.1
  },
  "luminance": 0.00895
}

Semantic roles & 50–950 ramp

primary
#210F32
secondary
#4E6C31
accent
#DD4B92
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040106
muted
#79777A

Preview Lab

Preview with #210F32

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

Preview Lab → · Contrast checker → · Palette generator →

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