#210B3A#210B3A

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

Color values

HEX#210B3A
RGBrgb(33, 11, 58)
HSLhsl(268, 68%, 14%)
HSVhsv(268, 81%, 23%)
CMYKcmyk(43.1%, 81%, 0%, 77.3%)
CIE-LABlab(7.84, 22.94, -25.87)
CIE-LCHlch(7.84, 34.58, 311.56°)
OKLaboklab(21.57% 0.0439 -0.0738)
OKLCHoklch(21.57% 0.086 300.7)
XYZxyz(1.5104, 0.8682, 4.0902)
Luminance0.0087 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210B3A #243A0B
analogous
#0B0C3A #210B3A #380B3A
triadic
#210B3A #3A210B #0B3A21
tetradic
#210B3A #3A0B0C #243A0B #0B3A38
square
#210B3A #3A0B0C #243A0B #0B3A38
split-complementary
#210B3A #3A380B #0C3A0B
monochromatic
#0F051A #0F051A #210B3A #3E156D #5C1FA1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##210B3A#FFFFFF#000000##FFFFFF
##210B3A1.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)
#00173B
Deuteranopia (green-blind)
#001739
Tritanopia (blue-blind)
#1B1621
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #210b3a;
/* rgb */ color: rgb(33, 11, 58);
/* oklch */ color: oklch(21.6% 0.086 300.7);
Tailwind
colors: {
  custom: {
    50: '#5f4c71',
    500: '#210b3a',
    950: '#000000',
  },
}
SCSS
$custom: #210b3a;
$custom-light: #5f4c71;
$custom-dark: #000000;
JSON
{
  "hex": "#210b3a",
  "rgb": {
    "r": 33,
    "g": 11,
    "b": 58
  },
  "hsl": {
    "h": 268.085,
    "s": 68.116,
    "l": 13.529
  },
  "oklch": {
    "l": 0.21569,
    "c": 0.08583,
    "h": 300.7
  },
  "luminance": 0.00868
}

Semantic roles & 50–950 ramp

primary
#210B3A
secondary
#53772A
accent
#EB3D99
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#050107
muted
#79777A

Preview Lab

Preview with #210B3A

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

Preview Lab → · Contrast checker → · Palette generator →

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