#210541#210541

#210541 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.4% C 0.103 H 298.2°. Best body text is #FFFFFF at 18.06:1 contrast (WCAG AA passes).

Color values

HEX#210541
RGBrgb(33, 5, 65)
HSLhsl(268, 86%, 14%)
HSVhsv(268, 92%, 25%)
CMYKcmyk(49.2%, 92.3%, 0%, 74.5%)
CIE-LABlab(7.35, 28.44, -31.70)
CIE-LCHlch(7.35, 42.59, 311.90°)
OKLaboklab(21.43% 0.0488 -0.0909)
OKLCHoklch(21.43% 0.103 298.2)
XYZxyz(1.6354, 0.8135, 5.0709)
Luminance0.0081 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210541 #254105
analogous
#050741 #210541 #3F0541
triadic
#210541 #412105 #054121
tetradic
#210541 #410507 #254105 #05413F
square
#210541 #410507 #254105 #05413F
split-complementary
#210541 #413F05 #074105
monochromatic
#0E021C #0E021C #210541 #3E097A #5B0EB3

Accessibility & contrast

On white

18.06
#210541 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#210541 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #210541
18.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210541#FFFFFF#000000##FFFFFF
##2105411.0018.061.1618.06
#FFFFFF18.061.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001643
Deuteranopia (green-blind)
#001640
Tritanopia (blue-blind)
#191623
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #210541;
/* rgb */ color: rgb(33, 5, 65);
/* oklch */ color: oklch(21.4% 0.103 298.2);
Tailwind
colors: {
  custom: {
    50: '#614976',
    500: '#210541',
    950: '#000000',
  },
}
SCSS
$custom: #210541;
$custom-light: #614976;
$custom-dark: #000000;
JSON
{
  "hex": "#210541",
  "rgb": {
    "r": 33,
    "g": 5,
    "b": 65
  },
  "hsl": {
    "h": 268,
    "s": 85.714,
    "l": 13.725
  },
  "oklch": {
    "l": 0.2143,
    "c": 0.10315,
    "h": 298.2
  },
  "luminance": 0.00814
}

Semantic roles & 50–950 ramp

primary
#210541
secondary
#548120
accent
#FC2C9B
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050108
muted
#79777B

Preview Lab

Preview with #210541

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

Preview Lab → · Contrast checker → · Palette generator →

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