#210F3B#210F3B

#210F3B is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.3% C 0.081 H 298.4°. Best body text is #FFFFFF at 17.56:1 contrast (WCAG AA passes).

Color values

HEX#210F3B
RGBrgb(33, 15, 59)
HSLhsl(265, 59%, 15%)
HSVhsv(265, 75%, 23%)
CMYKcmyk(44.1%, 74.6%, 0%, 76.9%)
CIE-LABlab(8.83, 20.78, -24.99)
CIE-LCHlch(8.83, 32.50, 309.74°)
OKLaboklab(22.31% 0.0385 -0.0712)
OKLCHoklch(22.31% 0.081 298.4)
XYZxyz(1.5872, 0.9807, 4.2425)
Luminance0.0098 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210F3B #293B0F
analogous
#0F133B #210F3B #370F3B
triadic
#210F3B #3B210F #0F3B21
tetradic
#210F3B #3B0F13 #293B0F #0F3B37
square
#210F3B #3B0F13 #293B0F #0F3B37
split-complementary
#210F3B #3B370F #133B0F
monochromatic
#0E0618 #0E0618 #210F3B #3C1B6C #58289D

Accessibility & contrast

On white

17.56
#210F3B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#210F3B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #210F3B
17.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210F3B#FFFFFF#000000##FFFFFF
##210F3B1.0017.561.2017.56
#FFFFFF17.561.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193C
Deuteranopia (green-blind)
#00193A
Tritanopia (blue-blind)
#1B1923
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #210f3b;
/* rgb */ color: rgb(33, 15, 59);
/* oklch */ color: oklch(22.3% 0.081 298.4);
Tailwind
colors: {
  custom: {
    50: '#5f4e71',
    500: '#210f3b',
    950: '#000000',
  },
}
SCSS
$custom: #210f3b;
$custom-light: #5f4e71;
$custom-dark: #000000;
JSON
{
  "hex": "#210f3b",
  "rgb": {
    "r": 33,
    "g": 15,
    "b": 59
  },
  "hsl": {
    "h": 264.545,
    "s": 59.459,
    "l": 14.51
  },
  "oklch": {
    "l": 0.22306,
    "c": 0.08091,
    "h": 298.4
  },
  "luminance": 0.00981
}

Semantic roles & 50–950 ramp

primary
#210F3B
secondary
#597530
accent
#E345A2
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#050108
muted
#79777B

Preview Lab

Preview with #210F3B

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

Preview Lab → · Contrast checker → · Palette generator →

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