#210F3A#210F3A

#210F3A is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.2% C 0.079 H 299.0°. Best body text is #FFFFFF at 17.59:1 contrast (WCAG AA passes).

Color values

HEX#210F3A
RGBrgb(33, 15, 58)
HSLhsl(265, 59%, 14%)
HSVhsv(265, 74%, 23%)
CMYKcmyk(43.1%, 74.1%, 0%, 77.3%)
CIE-LABlab(8.74, 20.46, -24.41)
CIE-LCHlch(8.74, 31.85, 309.96°)
OKLaboklab(22.22% 0.0386 -0.0695)
OKLCHoklch(22.22% 0.079 299)
XYZxyz(1.5616, 0.9705, 4.1072)
Luminance0.0097 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210F3A #283A0F
analogous
#0F133A #210F3A #370F3A
triadic
#210F3A #3A210F #0F3A21
tetradic
#210F3A #3A0F13 #283A0F #0F3A37
square
#210F3A #3A0F13 #283A0F #0F3A37
split-complementary
#210F3A #3A370F #133A0F
monochromatic
#0E0618 #0E0618 #210F3A #3D1C6B #58289B

Accessibility & contrast

On white

17.59
#210F3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#210F3A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #210F3A
17.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210F3A#FFFFFF#000000##FFFFFF
##210F3A1.0017.591.1917.59
#FFFFFF17.591.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193B
Deuteranopia (green-blind)
#001939
Tritanopia (blue-blind)
#1B1922
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #210f3a;
/* rgb */ color: rgb(33, 15, 58);
/* oklch */ color: oklch(22.2% 0.079 299.0);
Tailwind
colors: {
  custom: {
    50: '#5f4e70',
    500: '#210f3a',
    950: '#000000',
  },
}
SCSS
$custom: #210f3a;
$custom-light: #5f4e70;
$custom-dark: #000000;
JSON
{
  "hex": "#210f3a",
  "rgb": {
    "r": 33,
    "g": 15,
    "b": 58
  },
  "hsl": {
    "h": 265.116,
    "s": 58.904,
    "l": 14.314
  },
  "oklch": {
    "l": 0.22216,
    "c": 0.07947,
    "h": 299
  },
  "luminance": 0.0097
}

Semantic roles & 50–950 ramp

primary
#210F3A
secondary
#587430
accent
#E246A1
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#050107
muted
#79777A

Preview Lab

Preview with #210F3A

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

Preview Lab → · Contrast checker → · Palette generator →

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