#210535#210535

#210535 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.2% C 0.089 H 306.6°. Best body text is #FFFFFF at 18.46:1 contrast (WCAG AA passes).

Color values

HEX#210535
RGBrgb(33, 5, 53)
HSLhsl(275, 83%, 11%)
HSVhsv(275, 91%, 21%)
CMYKcmyk(37.7%, 90.6%, 0%, 79.2%)
CIE-LABlab(6.22, 24.51, -24.85)
CIE-LCHlch(6.22, 34.91, 314.61°)
OKLaboklab(20.17% 0.0532 -0.0715)
OKLCHoklch(20.17% 0.089 306.6)
XYZxyz(1.3239, 0.6889, 3.4307)
Luminance0.0069 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210535 #193505
analogous
#090535 #210535 #350531
triadic
#210535 #352105 #053521
tetradic
#210535 #350905 #193505 #053135
square
#210535 #350905 #193505 #053135
split-complementary
#210535 #313505 #053509
monochromatic
#11031C #11031C #210535 #440A6D #6710A5

Accessibility & contrast

On white

18.46
#210535 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #210535
18.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210535#FFFFFF#000000##FFFFFF
##2105351.0018.461.1418.46
#FFFFFF18.461.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001336
Deuteranopia (green-blind)
#001434
Tritanopia (blue-blind)
#1D111C
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #210535;
/* rgb */ color: rgb(33, 5, 53);
/* oklch */ color: oklch(20.2% 0.089 306.6);
Tailwind
colors: {
  custom: {
    50: '#5f486d',
    500: '#210535',
    950: '#000000',
  },
}
SCSS
$custom: #210535;
$custom-light: #5f486d;
$custom-dark: #000000;
JSON
{
  "hex": "#210535",
  "rgb": {
    "r": 33,
    "g": 5,
    "b": 53
  },
  "hsl": {
    "h": 275,
    "s": 82.759,
    "l": 11.373
  },
  "oklch": {
    "l": 0.20171,
    "c": 0.08906,
    "h": 306.6
  },
  "luminance": 0.00689
}

Semantic roles & 50–950 ramp

primary
#210535
secondary
#447620
accent
#F92F83
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#050007
muted
#79777A

Preview Lab

Preview with #210535

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

Preview Lab → · Contrast checker → · Palette generator →

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