#210F2D#210F2D

#210F2D is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.1% C 0.061 H 309.9°. Best body text is #FFFFFF at 17.94:1 contrast (WCAG AA passes).

Color values

HEX#210F2D
RGBrgb(33, 15, 45)
HSLhsl(276, 50%, 12%)
HSVhsv(276, 67%, 18%)
CMYKcmyk(26.7%, 66.7%, 0%, 82.4%)
CIE-LABlab(7.72, 16.46, -16.55)
CIE-LCHlch(7.72, 23.34, 314.84°)
OKLaboklab(21.14% 0.0388 -0.0464)
OKLCHoklch(21.14% 0.061 309.9)
XYZxyz(1.2716, 0.8545, 2.5801)
Luminance0.0085 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210F2D #1B2D0F
analogous
#120F2D #210F2D #2D0F2A
triadic
#210F2D #2D210F #0F2D21
tetradic
#210F2D #2D120F #1B2D0F #0F2A2D
square
#210F2D #2D120F #1B2D0F #0F2A2D
split-complementary
#210F2D #2A2D0F #0F2D12
monochromatic
#110817 #110817 #210F2D #431E5B #642E89

Accessibility & contrast

On white

17.94
#210F2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #210F2D
17.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210F2D#FFFFFF#000000##FFFFFF
##210F2D1.0017.941.1717.94
#FFFFFF17.941.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06162E
Deuteranopia (green-blind)
#0C172C
Tritanopia (blue-blind)
#1F141C
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #210f2d;
/* rgb */ color: rgb(33, 15, 45);
/* oklch */ color: oklch(21.1% 0.061 309.9);
Tailwind
colors: {
  custom: {
    50: '#5d4e66',
    500: '#210f2d',
    950: '#000000',
  },
}
SCSS
$custom: #210f2d;
$custom-light: #5d4e66;
$custom-dark: #000000;
JSON
{
  "hex": "#210f2d",
  "rgb": {
    "r": 33,
    "g": 15,
    "b": 45
  },
  "hsl": {
    "h": 276,
    "s": 50,
    "l": 11.765
  },
  "oklch": {
    "l": 0.21137,
    "c": 0.06052,
    "h": 309.9
  },
  "luminance": 0.00854
}

Semantic roles & 50–950 ramp

primary
#210F2D
secondary
#476631
accent
#DA4E86
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040106
muted
#79777A

Preview Lab

Preview with #210F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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