#210C49#210C49

#210C49 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.2% C 0.104 H 291.9°. Best body text is #FFFFFF at 17.31:1 contrast (WCAG AA passes).

Color values

HEX#210C49
RGBrgb(33, 12, 73)
HSLhsl(261, 72%, 17%)
HSVhsv(261, 84%, 29%)
CMYKcmyk(54.8%, 83.6%, 0%, 71.4%)
CIE-LABlab(9.54, 27.05, -33.75)
CIE-LCHlch(9.54, 43.25, 308.71°)
OKLaboklab(23.23% 0.0389 -0.0969)
OKLCHoklch(23.23% 0.104 291.9)
XYZxyz(1.9609, 1.0672, 6.4047)
Luminance0.0107 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210C49 #34490C
analogous
#0C1649 #210C49 #400C49
triadic
#210C49 #49210C #0C4921
tetradic
#210C49 #490C16 #34490C #0C4940
square
#210C49 #490C16 #34490C #0C4940
split-complementary
#210C49 #49400C #16490C
monochromatic
#0C041A #0C041A #210C49 #39157E #511DB2

Accessibility & contrast

On white

17.31
#210C49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#210C49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #210C49
17.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210C49#FFFFFF#000000##FFFFFF
##210C491.0017.311.2117.31
#FFFFFF17.311.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B4B
Deuteranopia (green-blind)
#001948
Tritanopia (blue-blind)
#141D2A
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #210c49;
/* rgb */ color: rgb(33, 12, 73);
/* oklch */ color: oklch(23.2% 0.104 291.9);
Tailwind
colors: {
  custom: {
    50: '#624d7c',
    500: '#210c49',
    950: '#000000',
  },
}
SCSS
$custom: #210c49;
$custom-light: #624d7c;
$custom-dark: #000000;
JSON
{
  "hex": "#210c49",
  "rgb": {
    "r": 33,
    "g": 12,
    "b": 73
  },
  "hsl": {
    "h": 260.656,
    "s": 71.765,
    "l": 16.667
  },
  "oklch": {
    "l": 0.23233,
    "c": 0.10438,
    "h": 291.9
  },
  "luminance": 0.01067
}

Semantic roles & 50–950 ramp

primary
#210C49
secondary
#66852C
accent
#EE39B0
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#050109
muted
#7A777B

Preview Lab

Preview with #210C49

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

Preview Lab → · Contrast checker → · Palette generator →

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