#210F2E#210F2E

#210F2E is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.2% C 0.062 H 308.9°. Best body text is #FFFFFF at 17.91:1 contrast (WCAG AA passes).

Color values

HEX#210F2E
RGBrgb(33, 15, 46)
HSLhsl(275, 51%, 12%)
HSVhsv(275, 67%, 18%)
CMYKcmyk(28.3%, 67.4%, 0%, 82%)
CIE-LABlab(7.79, 16.76, -17.18)
CIE-LCHlch(7.79, 24.00, 314.29°)
OKLaboklab(21.21% 0.0389 -0.0483)
OKLCHoklch(21.21% 0.062 308.9)
XYZxyz(1.2911, 0.8623, 2.6827)
Luminance0.0086 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210F2E #1C2E0F
analogous
#120F2E #210F2E #2E0F2C
triadic
#210F2E #2E210F #0F2E21
tetradic
#210F2E #2E120F #1C2E0F #0F2C2E
square
#210F2E #2E120F #1C2E0F #0F2C2E
split-complementary
#210F2E #2C2E0F #0F2E12
monochromatic
#110817 #110817 #210F2E #421E5C #632D8A

Accessibility & contrast

On white

17.91
#210F2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #210F2E
17.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210F2E#FFFFFF#000000##FFFFFF
##210F2E1.0017.911.1717.91
#FFFFFF17.911.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06162F
Deuteranopia (green-blind)
#0B172D
Tritanopia (blue-blind)
#1F151C
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #210f2e;
/* rgb */ color: rgb(33, 15, 46);
/* oklch */ color: oklch(21.2% 0.062 308.9);
Tailwind
colors: {
  custom: {
    50: '#5d4e67',
    500: '#210f2e',
    950: '#000000',
  },
}
SCSS
$custom: #210f2e;
$custom-light: #5d4e67;
$custom-dark: #000000;
JSON
{
  "hex": "#210f2e",
  "rgb": {
    "r": 33,
    "g": 15,
    "b": 46
  },
  "hsl": {
    "h": 274.839,
    "s": 50.82,
    "l": 11.961
  },
  "oklch": {
    "l": 0.21213,
    "c": 0.06199,
    "h": 308.9
  },
  "luminance": 0.00862
}

Semantic roles & 50–950 ramp

primary
#210F2E
secondary
#486831
accent
#DA4D89
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040106
muted
#79777A

Preview Lab

Preview with #210F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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