#210D2F#210D2F

#210D2F is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 20.9% C 0.067 H 308.8°. Best body text is #FFFFFF at 18.05:1 contrast (WCAG AA passes).

Color values

HEX#210D2F
RGBrgb(33, 13, 47)
HSLhsl(275, 57%, 12%)
HSVhsv(275, 72%, 18%)
CMYKcmyk(29.8%, 72.3%, 0%, 81.6%)
CIE-LABlab(7.37, 18.33, -18.58)
CIE-LCHlch(7.37, 26.10, 314.61°)
OKLaboklab(20.92% 0.0422 -0.0524)
OKLCHoklch(20.92% 0.067 308.8)
XYZxyz(1.2841, 0.8164, 2.7787)
Luminance0.0082 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210D2F #1B2F0D
analogous
#100D2F #210D2F #2F0D2C
triadic
#210D2F #2F210D #0D2F21
tetradic
#210D2F #2F100D #1B2F0D #0D2C2F
square
#210D2F #2F100D #1B2F0D #0D2C2F
split-complementary
#210D2F #2C2F0D #0D2F10
monochromatic
#110718 #110718 #210D2F #431A5F #64288F

Accessibility & contrast

On white

18.05
#210D2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#210D2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #210D2F
18.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210D2F#FFFFFF#000000##FFFFFF
##210D2F1.0018.051.1618.05
#FFFFFF18.051.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021530
Deuteranopia (green-blind)
#08172E
Tritanopia (blue-blind)
#1F131C
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #210d2f;
/* rgb */ color: rgb(33, 13, 47);
/* oklch */ color: oklch(20.9% 0.067 308.8);
Tailwind
colors: {
  custom: {
    50: '#5e4c68',
    500: '#210d2f',
    950: '#000000',
  },
}
SCSS
$custom: #210d2f;
$custom-light: #5e4c68;
$custom-dark: #000000;
JSON
{
  "hex": "#210d2f",
  "rgb": {
    "r": 33,
    "g": 13,
    "b": 47
  },
  "hsl": {
    "h": 275.294,
    "s": 56.667,
    "l": 11.765
  },
  "oklch": {
    "l": 0.20923,
    "c": 0.06732,
    "h": 308.8
  },
  "luminance": 0.00816
}

Semantic roles & 50–950 ramp

primary
#210D2F
secondary
#476A2E
accent
#E04886
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040106
muted
#79777A

Preview Lab

Preview with #210D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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