#210547#210547

#210547 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.1% C 0.110 H 294.8°. Best body text is #FFFFFF at 17.84:1 contrast (WCAG AA passes).

Color values

HEX#210547
RGBrgb(33, 5, 71)
HSLhsl(265, 87%, 15%)
HSVhsv(265, 93%, 28%)
CMYKcmyk(53.5%, 93%, 0%, 72.2%)
CIE-LABlab(8.01, 30.24, -34.86)
CIE-LCHlch(8.01, 46.15, 310.94°)
OKLaboklab(22.1% 0.0462 -0.1)
OKLCHoklch(22.1% 0.11 294.8)
XYZxyz(1.8185, 0.8868, 6.0354)
Luminance0.0089 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210547 #2B4705
analogous
#050A47 #210547 #420547
triadic
#210547 #472105 #054721
tetradic
#210547 #47050A #2B4705 #054742
square
#210547 #47050A #2B4705 #054742
split-complementary
#210547 #474205 #0A4705
monochromatic
#0D021D #0D021D #210547 #3C0980 #560DB9

Accessibility & contrast

On white

17.84
#210547 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#210547 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #210547
17.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210547#FFFFFF#000000##FFFFFF
##2105471.0017.841.1817.84
#FFFFFF17.841.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001849
Deuteranopia (green-blind)
#001646
Tritanopia (blue-blind)
#151927
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #210547;
/* rgb */ color: rgb(33, 5, 71);
/* oklch */ color: oklch(22.1% 0.110 294.8);
Tailwind
colors: {
  custom: {
    50: '#62497b',
    500: '#210547',
    950: '#000000',
  },
}
SCSS
$custom: #210547;
$custom-light: #62497b;
$custom-dark: #000000;
JSON
{
  "hex": "#210547",
  "rgb": {
    "r": 33,
    "g": 5,
    "b": 71
  },
  "hsl": {
    "h": 265.455,
    "s": 86.842,
    "l": 14.902
  },
  "oklch": {
    "l": 0.22104,
    "c": 0.11019,
    "h": 294.8
  },
  "luminance": 0.00887
}

Semantic roles & 50–950 ramp

primary
#210547
secondary
#5C8721
accent
#FD2BA4
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#050109
muted
#7A777B

Preview Lab

Preview with #210547

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

Preview Lab → · Contrast checker → · Palette generator →

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