#210546#210546

#210546 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.0% C 0.109 H 295.3°. Best body text is #FFFFFF at 17.88:1 contrast (WCAG AA passes).

Color values

HEX#210546
RGBrgb(33, 5, 70)
HSLhsl(266, 87%, 15%)
HSVhsv(266, 93%, 27%)
CMYKcmyk(52.9%, 92.9%, 0%, 72.5%)
CIE-LABlab(7.89, 29.95, -34.35)
CIE-LCHlch(7.89, 45.57, 311.09°)
OKLaboklab(21.99% 0.0466 -0.0985)
OKLCHoklch(21.99% 0.109 295.3)
XYZxyz(1.7867, 0.8740, 5.8677)
Luminance0.0087 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210546 #2A4605
analogous
#050A46 #210546 #420546
triadic
#210546 #462105 #054621
tetradic
#210546 #46050A #2A4605 #054642
square
#210546 #46050A #2A4605 #054642
split-complementary
#210546 #464205 #0A4605
monochromatic
#0D021D #0D021D #210546 #3C097F #570DB8

Accessibility & contrast

On white

17.88
#210546 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #210546
17.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210546#FFFFFF#000000##FFFFFF
##2105461.0017.881.1717.88
#FFFFFF17.881.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001848
Deuteranopia (green-blind)
#001645
Tritanopia (blue-blind)
#161826
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #210546;
/* rgb */ color: rgb(33, 5, 70);
/* oklch */ color: oklch(22.0% 0.109 295.3);
Tailwind
colors: {
  custom: {
    50: '#62497a',
    500: '#210546',
    950: '#000000',
  },
}
SCSS
$custom: #210546;
$custom-light: #62497a;
$custom-dark: #000000;
JSON
{
  "hex": "#210546",
  "rgb": {
    "r": 33,
    "g": 5,
    "b": 70
  },
  "hsl": {
    "h": 265.846,
    "s": 86.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.2199,
    "c": 0.10903,
    "h": 295.3
  },
  "luminance": 0.00874
}

Semantic roles & 50–950 ramp

primary
#210546
secondary
#5A8621
accent
#FD2BA2
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#050109
muted
#7A777B

Preview Lab

Preview with #210546

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

Preview Lab → · Contrast checker → · Palette generator →

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