#210538#210538

#210538 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.5% C 0.093 H 304.3°. Best body text is #FFFFFF at 18.37:1 contrast (WCAG AA passes).

Color values

HEX#210538
RGBrgb(33, 5, 56)
HSLhsl(273, 84%, 12%)
HSVhsv(273, 91%, 22%)
CMYKcmyk(41.1%, 91.1%, 0%, 78%)
CIE-LABlab(6.48, 25.52, -26.63)
CIE-LCHlch(6.48, 36.89, 313.78°)
OKLaboklab(20.47% 0.0522 -0.0765)
OKLCHoklch(20.47% 0.093 304.3)
XYZxyz(1.3951, 0.7174, 3.8056)
Luminance0.0072 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210538 #1C3805
analogous
#070538 #210538 #380536
triadic
#210538 #382105 #053821
tetradic
#210538 #380705 #1C3805 #053638
square
#210538 #380705 #1C3805 #053638
split-complementary
#210538 #363805 #053807
monochromatic
#11031C #11031C #210538 #420A70 #630FA8

Accessibility & contrast

On white

18.37
#210538 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#210538 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #210538
18.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210538#FFFFFF#000000##FFFFFF
##2105381.0018.371.1418.37
#FFFFFF18.371.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001439
Deuteranopia (green-blind)
#001437
Tritanopia (blue-blind)
#1C121E
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #210538;
/* rgb */ color: rgb(33, 5, 56);
/* oklch */ color: oklch(20.5% 0.093 304.3);
Tailwind
colors: {
  custom: {
    50: '#5f486f',
    500: '#210538',
    950: '#000000',
  },
}
SCSS
$custom: #210538;
$custom-light: #5f486f;
$custom-dark: #000000;
JSON
{
  "hex": "#210538",
  "rgb": {
    "r": 33,
    "g": 5,
    "b": 56
  },
  "hsl": {
    "h": 272.941,
    "s": 83.607,
    "l": 11.961
  },
  "oklch": {
    "l": 0.20473,
    "c": 0.09258,
    "h": 304.3
  },
  "luminance": 0.00717
}

Semantic roles & 50–950 ramp

primary
#210538
secondary
#487920
accent
#FA2E8A
background
#F5F4F6
surface
#E9E6EC
border
#C5C2C7
text
#050107
muted
#79777A

Preview Lab

Preview with #210538

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

Preview Lab → · Contrast checker → · Palette generator →

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