#210C47#210C47

#210C47 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 23.0% C 0.102 H 292.8°. Best body text is #FFFFFF at 17.38:1 contrast (WCAG AA passes).

Color values

HEX#210C47
RGBrgb(33, 12, 71)
HSLhsl(261, 71%, 16%)
HSVhsv(261, 83%, 28%)
CMYKcmyk(53.5%, 83.1%, 0%, 72.2%)
CIE-LABlab(9.33, 26.42, -32.69)
CIE-LCHlch(9.33, 42.03, 308.94°)
OKLaboklab(23.02% 0.0395 -0.0938)
OKLCHoklch(23.02% 0.102 292.8)
XYZxyz(1.8957, 1.0411, 6.0611)
Luminance0.0104 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210C47 #32470C
analogous
#0C1547 #210C47 #3F0C47
triadic
#210C47 #47210C #0C4721
tetradic
#210C47 #470C15 #32470C #0C473F
square
#210C47 #470C15 #32470C #0C473F
split-complementary
#210C47 #473F0C #15470C
monochromatic
#0C041A #0C041A #210C47 #39157B #521EB0

Accessibility & contrast

On white

17.38
#210C47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #210C47
17.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210C47#FFFFFF#000000##FFFFFF
##210C471.0017.381.2117.38
#FFFFFF17.381.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B49
Deuteranopia (green-blind)
#001946
Tritanopia (blue-blind)
#151C29
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #210c47;
/* rgb */ color: rgb(33, 12, 71);
/* oklch */ color: oklch(23.0% 0.102 292.8);
Tailwind
colors: {
  custom: {
    50: '#614d7b',
    500: '#210c47',
    950: '#000000',
  },
}
SCSS
$custom: #210c47;
$custom-light: #614d7b;
$custom-dark: #000000;
JSON
{
  "hex": "#210c47",
  "rgb": {
    "r": 33,
    "g": 12,
    "b": 71
  },
  "hsl": {
    "h": 261.356,
    "s": 71.084,
    "l": 16.275
  },
  "oklch": {
    "l": 0.23021,
    "c": 0.10175,
    "h": 292.8
  },
  "luminance": 0.01041
}

Semantic roles & 50–950 ramp

primary
#210C47
secondary
#64832C
accent
#EE3AAE
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#050109
muted
#7A777B

Preview Lab

Preview with #210C47

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

Preview Lab → · Contrast checker → · Palette generator →

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