#210F2F#210F2F

#210F2F is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.3% C 0.063 H 307.9°. Best body text is #FFFFFF at 17.89:1 contrast (WCAG AA passes).

Color values

HEX#210F2F
RGBrgb(33, 15, 47)
HSLhsl(274, 52%, 12%)
HSVhsv(274, 68%, 18%)
CMYKcmyk(29.8%, 68.1%, 0%, 81.6%)
CIE-LABlab(7.86, 17.06, -17.81)
CIE-LCHlch(7.86, 24.66, 313.78°)
OKLaboklab(21.29% 0.039 -0.0501)
OKLCHoklch(21.29% 0.063 307.9)
XYZxyz(1.3110, 0.8702, 2.7877)
Luminance0.0087 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210F2F #1D2F0F
analogous
#110F2F #210F2F #2F0F2D
triadic
#210F2F #2F210F #0F2F21
tetradic
#210F2F #2F110F #1D2F0F #0F2D2F
square
#210F2F #2F110F #1D2F0F #0F2D2F
split-complementary
#210F2F #2D2F0F #0F2F11
monochromatic
#100717 #100717 #210F2F #421E5D #622D8C

Accessibility & contrast

On white

17.89
#210F2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #210F2F
17.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210F2F#FFFFFF#000000##FFFFFF
##210F2F1.0017.891.1717.89
#FFFFFF17.891.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051730
Deuteranopia (green-blind)
#0B172E
Tritanopia (blue-blind)
#1F151D
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #210f2f;
/* rgb */ color: rgb(33, 15, 47);
/* oklch */ color: oklch(21.3% 0.063 307.9);
Tailwind
colors: {
  custom: {
    50: '#5d4e67',
    500: '#210f2f',
    950: '#000000',
  },
}
SCSS
$custom: #210f2f;
$custom-light: #5d4e67;
$custom-dark: #000000;
JSON
{
  "hex": "#210f2f",
  "rgb": {
    "r": 33,
    "g": 15,
    "b": 47
  },
  "hsl": {
    "h": 273.75,
    "s": 51.613,
    "l": 12.157
  },
  "oklch": {
    "l": 0.21291,
    "c": 0.06345,
    "h": 307.9
  },
  "luminance": 0.0087
}

Semantic roles & 50–950 ramp

primary
#210F2F
secondary
#496931
accent
#DB4D8B
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040106
muted
#79777A

Preview Lab

Preview with #210F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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