#210747#210747

#210747 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.4% C 0.108 H 294.2°. Best body text is #FFFFFF at 17.71:1 contrast (WCAG AA passes).

Color values

HEX#210747
RGBrgb(33, 7, 71)
HSLhsl(264, 82%, 15%)
HSVhsv(264, 90%, 28%)
CMYKcmyk(53.5%, 90.1%, 0%, 72.2%)
CIE-LABlab(8.40, 29.10, -34.23)
CIE-LCHlch(8.40, 44.93, 310.38°)
OKLaboklab(22.37% 0.0442 -0.0982)
OKLCHoklch(22.37% 0.108 294.2)
XYZxyz(1.8402, 0.9302, 6.0426)
Luminance0.0093 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210747 #2D4707
analogous
#070D47 #210747 #410747
triadic
#210747 #472107 #074721
tetradic
#210747 #47070D #2D4707 #074741
square
#210747 #47070D #2D4707 #074741
split-complementary
#210747 #474107 #0D4707
monochromatic
#0D031C #0D031C #210747 #3B0C7F #5512B6

Accessibility & contrast

On white

17.71
#210747 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #210747
17.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210747#FFFFFF#000000##FFFFFF
##2107471.0017.711.1917.71
#FFFFFF17.711.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001949
Deuteranopia (green-blind)
#001746
Tritanopia (blue-blind)
#151A27
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #210747;
/* rgb */ color: rgb(33, 7, 71);
/* oklch */ color: oklch(22.4% 0.108 294.2);
Tailwind
colors: {
  custom: {
    50: '#624a7b',
    500: '#210747',
    950: '#000000',
  },
}
SCSS
$custom: #210747;
$custom-light: #624a7b;
$custom-dark: #000000;
JSON
{
  "hex": "#210747",
  "rgb": {
    "r": 33,
    "g": 7,
    "b": 71
  },
  "hsl": {
    "h": 264.375,
    "s": 82.051,
    "l": 15.294
  },
  "oklch": {
    "l": 0.22369,
    "c": 0.10772,
    "h": 294.2
  },
  "luminance": 0.0093
}

Semantic roles & 50–950 ramp

primary
#210747
secondary
#5E8624
accent
#F82FA7
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#050109
muted
#7A777B

Preview Lab

Preview with #210747

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

Preview Lab → · Contrast checker → · Palette generator →

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