#210539#210539

#210539 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.6% C 0.094 H 303.6°. Best body text is #FFFFFF at 18.33:1 contrast (WCAG AA passes).

Color values

HEX#210539
RGBrgb(33, 5, 57)
HSLhsl(272, 84%, 12%)
HSVhsv(272, 91%, 22%)
CMYKcmyk(42.1%, 91.2%, 0%, 77.6%)
CIE-LABlab(6.57, 25.86, -27.21)
CIE-LCHlch(6.57, 37.54, 313.53°)
OKLaboklab(20.58% 0.0518 -0.0781)
OKLCHoklch(20.58% 0.094 303.6)
XYZxyz(1.4198, 0.7273, 3.9357)
Luminance0.0073 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210539 #1D3905
analogous
#070539 #210539 #390537
triadic
#210539 #392105 #053921
tetradic
#210539 #390705 #1D3905 #053739
square
#210539 #390705 #1D3905 #053739
split-complementary
#210539 #373905 #053907
monochromatic
#10021C #10021C #210539 #420A71 #620FAA

Accessibility & contrast

On white

18.33
#210539 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#210539 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #210539
18.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210539#FFFFFF#000000##FFFFFF
##2105391.0018.331.1518.33
#FFFFFF18.331.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00143A
Deuteranopia (green-blind)
#001438
Tritanopia (blue-blind)
#1C121F
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #210539;
/* rgb */ color: rgb(33, 5, 57);
/* oklch */ color: oklch(20.6% 0.094 303.6);
Tailwind
colors: {
  custom: {
    50: '#5f4870',
    500: '#210539',
    950: '#000000',
  },
}
SCSS
$custom: #210539;
$custom-light: #5f4870;
$custom-dark: #000000;
JSON
{
  "hex": "#210539",
  "rgb": {
    "r": 33,
    "g": 5,
    "b": 57
  },
  "hsl": {
    "h": 272.308,
    "s": 83.871,
    "l": 12.157
  },
  "oklch": {
    "l": 0.20576,
    "c": 0.09376,
    "h": 303.6
  },
  "luminance": 0.00727
}

Semantic roles & 50–950 ramp

primary
#210539
secondary
#497A20
accent
#FA2E8C
background
#F5F4F6
surface
#EAE6EC
border
#C6C2C7
text
#050107
muted
#79777A

Preview Lab

Preview with #210539

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

Preview Lab → · Contrast checker → · Palette generator →

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