#210347#210347

#210347 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.8% C 0.113 H 295.3°. Best body text is #FFFFFF at 17.97:1 contrast (WCAG AA passes).

Color values

HEX#210347
RGBrgb(33, 3, 71)
HSLhsl(266, 92%, 15%)
HSVhsv(266, 96%, 28%)
CMYKcmyk(53.5%, 95.8%, 0%, 72.2%)
CIE-LABlab(7.62, 31.40, -35.51)
CIE-LCHlch(7.62, 47.40, 311.48°)
OKLaboklab(21.83% 0.0482 -0.1019)
OKLCHoklch(21.83% 0.113 295.3)
XYZxyz(1.7968, 0.8433, 6.0281)
Luminance0.0084 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210347 #294703
analogous
#030747 #210347 #430347
triadic
#210347 #472103 #034721
tetradic
#210347 #470307 #294703 #034743
square
#210347 #470307 #294703 #034743
split-complementary
#210347 #474303 #074703
monochromatic
#0E011D #0E011D #210347 #3C0582 #5808BC

Accessibility & contrast

On white

17.97
#210347 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#210347 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #210347
17.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210347#FFFFFF#000000##FFFFFF
##2103471.0017.971.1717.97
#FFFFFF17.971.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001749
Deuteranopia (green-blind)
#001646
Tritanopia (blue-blind)
#161827
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #210347;
/* rgb */ color: rgb(33, 3, 71);
/* oklch */ color: oklch(21.8% 0.113 295.3);
Tailwind
colors: {
  custom: {
    50: '#62487b',
    500: '#210347',
    950: '#000000',
  },
}
SCSS
$custom: #210347;
$custom-light: #62487b;
$custom-dark: #000000;
JSON
{
  "hex": "#210347",
  "rgb": {
    "r": 33,
    "g": 3,
    "b": 71
  },
  "hsl": {
    "h": 266.471,
    "s": 91.892,
    "l": 14.51
  },
  "oklch": {
    "l": 0.21832,
    "c": 0.11276,
    "h": 295.3
  },
  "luminance": 0.00843
}

Semantic roles & 50–950 ramp

primary
#210347
secondary
#59881E
accent
#FF29A0
background
#F6F4F7
surface
#EBE6EE
border
#C6C2C9
text
#060109
muted
#7A777B

Preview Lab

Preview with #210347

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

Preview Lab → · Contrast checker → · Palette generator →

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