#210F2B#210F2B

#210F2B is a very dark, muted violet. Relative luminance 0.008; OKLCH L 21.0% C 0.058 H 312.1°. Best body text is #FFFFFF at 17.98:1 contrast (WCAG AA passes).

Color values

HEX#210F2B
RGBrgb(33, 15, 43)
HSLhsl(279, 48%, 11%)
HSVhsv(279, 65%, 17%)
CMYKcmyk(23.3%, 65.1%, 0%, 83.1%)
CIE-LABlab(7.58, 15.87, -15.28)
CIE-LCHlch(7.58, 22.03, 316.09°)
OKLaboklab(20.99% 0.0386 -0.0427)
OKLCHoklch(20.99% 0.058 312.1)
XYZxyz(1.2340, 0.8394, 2.3821)
Luminance0.0084 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210F2B #192B0F
analogous
#130F2B #210F2B #2B0F27
triadic
#210F2B #2B210F #0F2B21
tetradic
#210F2B #2B130F #192B0F #0F272B
square
#210F2B #2B130F #192B0F #0F272B
split-complementary
#210F2B #272B0F #0F2B13
monochromatic
#110817 #110817 #210F2B #441F58 #672F86

Accessibility & contrast

On white

17.98
#210F2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#210F2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #210F2B
17.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210F2B#FFFFFF#000000##FFFFFF
##210F2B1.0017.981.1717.98
#FFFFFF17.981.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08162C
Deuteranopia (green-blind)
#0D172A
Tritanopia (blue-blind)
#20141B
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #210f2b;
/* rgb */ color: rgb(33, 15, 43);
/* oklch */ color: oklch(21.0% 0.058 312.1);
Tailwind
colors: {
  custom: {
    50: '#5d4e64',
    500: '#210f2b',
    950: '#000000',
  },
}
SCSS
$custom: #210f2b;
$custom-light: #5d4e64;
$custom-dark: #000000;
JSON
{
  "hex": "#210f2b",
  "rgb": {
    "r": 33,
    "g": 15,
    "b": 43
  },
  "hsl": {
    "h": 278.571,
    "s": 48.276,
    "l": 11.373
  },
  "oklch": {
    "l": 0.20989,
    "c": 0.05761,
    "h": 312.1
  },
  "luminance": 0.00839
}

Semantic roles & 50–950 ramp

primary
#210F2B
secondary
#446432
accent
#D85080
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040105
muted
#79777A

Preview Lab

Preview with #210F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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