#210C4B#210C4B

#210C4B is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.4% C 0.107 H 290.9°. Best body text is #FFFFFF at 17.23:1 contrast (WCAG AA passes).

Color values

HEX#210C4B
RGBrgb(33, 12, 75)
HSLhsl(260, 72%, 17%)
HSVhsv(260, 84%, 29%)
CMYKcmyk(56%, 84%, 0%, 70.6%)
CIE-LABlab(9.75, 27.68, -34.79)
CIE-LCHlch(9.75, 44.46, 308.51°)
OKLaboklab(23.45% 0.0382 -0.0999)
OKLCHoklch(23.45% 0.107 290.9)
XYZxyz(2.0283, 1.0942, 6.7596)
Luminance0.0109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210C4B #364B0C
analogous
#0C174B #210C4B #410C4B
triadic
#210C4B #4B210C #0C4B21
tetradic
#210C4B #4B0C17 #364B0C #0C4B41
square
#210C4B #4B0C17 #364B0C #0C4B41
split-complementary
#210C4B #4B410C #174B0C
monochromatic
#0C041A #0C041A #210C4B #381480 #4F1DB5

Accessibility & contrast

On white

17.23
#210C4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#210C4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #210C4B
17.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210C4B#FFFFFF#000000##FFFFFF
##210C4B1.0017.231.2217.23
#FFFFFF17.231.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C4D
Deuteranopia (green-blind)
#001A4A
Tritanopia (blue-blind)
#121D2B
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #210c4b;
/* rgb */ color: rgb(33, 12, 75);
/* oklch */ color: oklch(23.4% 0.107 290.9);
Tailwind
colors: {
  custom: {
    50: '#624d7e',
    500: '#210c4b',
    950: '#000000',
  },
}
SCSS
$custom: #210c4b;
$custom-light: #624d7e;
$custom-dark: #000000;
JSON
{
  "hex": "#210c4b",
  "rgb": {
    "r": 33,
    "g": 12,
    "b": 75
  },
  "hsl": {
    "h": 260,
    "s": 72.414,
    "l": 17.059
  },
  "oklch": {
    "l": 0.23447,
    "c": 0.107,
    "h": 290.9
  },
  "luminance": 0.01094
}

Semantic roles & 50–950 ramp

primary
#210C4B
secondary
#69872C
accent
#EF39B2
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#05010A
muted
#7A777C

Preview Lab

Preview with #210C4B

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

Preview Lab → · Contrast checker → · Palette generator →

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