#210536#210536

#210536 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.3% C 0.090 H 305.8°. Best body text is #FFFFFF at 18.43:1 contrast (WCAG AA passes).

Color values

HEX#210536
RGBrgb(33, 5, 54)
HSLhsl(274, 83%, 12%)
HSVhsv(274, 91%, 21%)
CMYKcmyk(38.9%, 90.7%, 0%, 78.8%)
CIE-LABlab(6.31, 24.85, -25.45)
CIE-LCHlch(6.31, 35.57, 314.32°)
OKLaboklab(20.27% 0.0528 -0.0731)
OKLCHoklch(20.27% 0.09 305.8)
XYZxyz(1.3472, 0.6982, 3.5531)
Luminance0.0070 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210536 #1A3605
analogous
#090536 #210536 #360533
triadic
#210536 #362105 #053621
tetradic
#210536 #360905 #1A3605 #053336
square
#210536 #360905 #1A3605 #053336
split-complementary
#210536 #333605 #053609
monochromatic
#11031C #11031C #210536 #430A6E #650FA6

Accessibility & contrast

On white

18.43
#210536 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #210536
18.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210536#FFFFFF#000000##FFFFFF
##2105361.0018.431.1418.43
#FFFFFF18.431.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001337
Deuteranopia (green-blind)
#001435
Tritanopia (blue-blind)
#1D111D
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #210536;
/* rgb */ color: rgb(33, 5, 54);
/* oklch */ color: oklch(20.3% 0.090 305.8);
Tailwind
colors: {
  custom: {
    50: '#5f486d',
    500: '#210536',
    950: '#000000',
  },
}
SCSS
$custom: #210536;
$custom-light: #5f486d;
$custom-dark: #000000;
JSON
{
  "hex": "#210536",
  "rgb": {
    "r": 33,
    "g": 5,
    "b": 54
  },
  "hsl": {
    "h": 274.286,
    "s": 83.051,
    "l": 11.569
  },
  "oklch": {
    "l": 0.2027,
    "c": 0.09023,
    "h": 305.8
  },
  "luminance": 0.00698
}

Semantic roles & 50–950 ramp

primary
#210536
secondary
#457720
accent
#F92E85
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#050007
muted
#79777A

Preview Lab

Preview with #210536

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

Preview Lab → · Contrast checker → · Palette generator →

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