#210D47#210D47

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

Color values

HEX#210D47
RGBrgb(33, 13, 71)
HSLhsl(261, 69%, 16%)
HSVhsv(261, 82%, 28%)
CMYKcmyk(53.5%, 81.7%, 0%, 72.2%)
CIE-LABlab(9.53, 25.85, -32.37)
CIE-LCHlch(9.53, 41.42, 308.61°)
OKLaboklab(23.16% 0.0384 -0.0928)
OKLCHoklch(23.16% 0.1 292.5)
XYZxyz(1.9081, 1.0660, 6.0652)
Luminance0.0107 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210D47 #33470D
analogous
#0D1647 #210D47 #3E0D47
triadic
#210D47 #47210D #0D4721
tetradic
#210D47 #470D16 #33470D #0D473E
square
#210D47 #470D16 #33470D #0D473E
split-complementary
#210D47 #473E0D #16470D
monochromatic
#0C051A #0C051A #210D47 #39167B #5120AE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##210D47#FFFFFF#000000##FFFFFF
##210D471.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)
#001B49
Deuteranopia (green-blind)
#001946
Tritanopia (blue-blind)
#151C29
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #210d47;
/* rgb */ color: rgb(33, 13, 71);
/* oklch */ color: oklch(23.2% 0.100 292.5);
Tailwind
colors: {
  custom: {
    50: '#614e7b',
    500: '#210d47',
    950: '#000000',
  },
}
SCSS
$custom: #210d47;
$custom-light: #614e7b;
$custom-dark: #000000;
JSON
{
  "hex": "#210d47",
  "rgb": {
    "r": 33,
    "g": 13,
    "b": 71
  },
  "hsl": {
    "h": 260.69,
    "s": 69.048,
    "l": 16.471
  },
  "oklch": {
    "l": 0.23162,
    "c": 0.10047,
    "h": 292.5
  },
  "luminance": 0.01066
}

Semantic roles & 50–950 ramp

primary
#210D47
secondary
#65822D
accent
#EC3CAF
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#050109
muted
#79777B

Preview Lab

Preview with #210D47

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

Preview Lab → · Contrast checker → · Palette generator →

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