#210C3A#210C3A

#210C3A is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.7% C 0.084 H 300.4°. Best body text is #FFFFFF at 17.82:1 contrast (WCAG AA passes).

Color values

HEX#210C3A
RGBrgb(33, 12, 58)
HSLhsl(267, 66%, 14%)
HSVhsv(267, 79%, 23%)
CMYKcmyk(43.1%, 79.3%, 0%, 77.3%)
CIE-LABlab(8.06, 22.34, -25.53)
CIE-LCHlch(8.06, 33.93, 311.20°)
OKLaboklab(21.72% 0.0426 -0.0727)
OKLCHoklch(21.72% 0.084 300.4)
XYZxyz(1.5222, 0.8918, 4.0941)
Luminance0.0089 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210C3A #253A0C
analogous
#0C0E3A #210C3A #380C3A
triadic
#210C3A #3A210C #0C3A21
tetradic
#210C3A #3A0C0E #253A0C #0C3A38
square
#210C3A #3A0C0E #253A0C #0C3A38
split-complementary
#210C3A #3A380C #0E3A0C
monochromatic
#0E0519 #0E0519 #210C3A #3E166D #5B219F

Accessibility & contrast

On white

17.82
#210C3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#210C3A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #210C3A
17.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210C3A#FFFFFF#000000##FFFFFF
##210C3A1.0017.821.1817.82
#FFFFFF17.821.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00173B
Deuteranopia (green-blind)
#001739
Tritanopia (blue-blind)
#1B1721
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #210c3a;
/* rgb */ color: rgb(33, 12, 58);
/* oklch */ color: oklch(21.7% 0.084 300.4);
Tailwind
colors: {
  custom: {
    50: '#5f4c70',
    500: '#210c3a',
    950: '#000000',
  },
}
SCSS
$custom: #210c3a;
$custom-light: #5f4c70;
$custom-dark: #000000;
JSON
{
  "hex": "#210c3a",
  "rgb": {
    "r": 33,
    "g": 12,
    "b": 58
  },
  "hsl": {
    "h": 267.391,
    "s": 65.714,
    "l": 13.725
  },
  "oklch": {
    "l": 0.21721,
    "c": 0.08431,
    "h": 300.4
  },
  "luminance": 0.00892
}

Semantic roles & 50–950 ramp

primary
#210C3A
secondary
#54762C
accent
#E93F9B
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#050107
muted
#79777A

Preview Lab

Preview with #210C3A

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

Preview Lab → · Contrast checker → · Palette generator →

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