#210947#210947

#210947 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.6% C 0.105 H 293.7°. Best body text is #FFFFFF at 17.58:1 contrast (WCAG AA passes).

Color values

HEX#210947
RGBrgb(33, 9, 71)
HSLhsl(263, 78%, 16%)
HSVhsv(263, 87%, 28%)
CMYKcmyk(53.5%, 87.3%, 0%, 72.2%)
CIE-LABlab(8.77, 28.02, -33.61)
CIE-LCHlch(8.77, 43.76, 309.82°)
OKLaboklab(22.63% 0.0423 -0.0964)
OKLCHoklch(22.63% 0.105 293.7)
XYZxyz(1.8619, 0.9736, 6.0498)
Luminance0.0097 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210947 #2F4709
analogous
#091047 #210947 #400947
triadic
#210947 #472109 #094721
tetradic
#210947 #470910 #2F4709 #094740
square
#210947 #470910 #2F4709 #094740
split-complementary
#210947 #474009 #104709
monochromatic
#0D031B #0D031B #210947 #3A107D #5317B4

Accessibility & contrast

On white

17.58
#210947 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#210947 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #210947
17.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210947#FFFFFF#000000##FFFFFF
##2109471.0017.581.1917.58
#FFFFFF17.581.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A49
Deuteranopia (green-blind)
#001846
Tritanopia (blue-blind)
#151B28
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #210947;
/* rgb */ color: rgb(33, 9, 71);
/* oklch */ color: oklch(22.6% 0.105 293.7);
Tailwind
colors: {
  custom: {
    50: '#624b7b',
    500: '#210947',
    950: '#000000',
  },
}
SCSS
$custom: #210947;
$custom-light: #624b7b;
$custom-dark: #000000;
JSON
{
  "hex": "#210947",
  "rgb": {
    "r": 33,
    "g": 9,
    "b": 71
  },
  "hsl": {
    "h": 263.226,
    "s": 77.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.22629,
    "c": 0.10532,
    "h": 293.7
  },
  "luminance": 0.00974
}

Semantic roles & 50–950 ramp

primary
#210947
secondary
#608427
accent
#F434AA
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#050109
muted
#7A777B

Preview Lab

Preview with #210947

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

Preview Lab → · Contrast checker → · Palette generator →

#210947 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva