#210A2F#210A2F

#210A2F is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.4% C 0.073 H 310.1°. Best body text is #FFFFFF at 18.27:1 contrast (WCAG AA passes).

Color values

HEX#210A2F
RGBrgb(33, 10, 47)
HSLhsl(277, 65%, 11%)
HSVhsv(277, 79%, 18%)
CMYKcmyk(29.8%, 78.7%, 0%, 81.6%)
CIE-LABlab(6.74, 19.98, -19.60)
CIE-LCHlch(6.74, 27.99, 315.55°)
OKLaboklab(20.42% 0.0468 -0.0557)
OKLCHoklch(20.42% 0.073 310.1)
XYZxyz(1.2487, 0.7457, 2.7669)
Luminance0.0075 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210A2F #182F0A
analogous
#0E0A2F #210A2F #2F0A2A
triadic
#210A2F #2F210A #0A2F21
tetradic
#210A2F #2F0E0A #182F0A #0A2A2F
square
#210A2F #2F0E0A #182F0A #0A2A2F
split-complementary
#210A2F #2A2F0A #0A2F0E
monochromatic
#120519 #120519 #210A2F #441561 #681F94

Accessibility & contrast

On white

18.27
#210A2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#210A2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #210A2F
18.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210A2F#FFFFFF#000000##FFFFFF
##210A2F1.0018.271.1518.27
#FFFFFF18.271.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001430
Deuteranopia (green-blind)
#06152E
Tritanopia (blue-blind)
#1F121B
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #210a2f;
/* rgb */ color: rgb(33, 10, 47);
/* oklch */ color: oklch(20.4% 0.073 310.1);
Tailwind
colors: {
  custom: {
    50: '#5e4b68',
    500: '#210a2f',
    950: '#000000',
  },
}
SCSS
$custom: #210a2f;
$custom-light: #5e4b68;
$custom-dark: #000000;
JSON
{
  "hex": "#210a2f",
  "rgb": {
    "r": 33,
    "g": 10,
    "b": 47
  },
  "hsl": {
    "h": 277.297,
    "s": 64.912,
    "l": 11.176
  },
  "oklch": {
    "l": 0.2042,
    "c": 0.07276,
    "h": 310.1
  },
  "luminance": 0.00746
}

Semantic roles & 50–950 ramp

primary
#210A2F
secondary
#426C29
accent
#E8407F
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040106
muted
#79777A

Preview Lab

Preview with #210A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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