#210336#210336

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

Color values

HEX#210336
RGBrgb(33, 3, 54)
HSLhsl(275, 89%, 11%)
HSVhsv(275, 94%, 21%)
CMYKcmyk(38.9%, 94.4%, 0%, 78.8%)
CIE-LABlab(5.91, 25.89, -26.08)
CIE-LCHlch(5.91, 36.75, 314.79°)
OKLaboklab(19.94% 0.0559 -0.0754)
OKLCHoklch(19.94% 0.094 306.6)
XYZxyz(1.3255, 0.6548, 3.5459)
Luminance0.0066 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210336 #183603
analogous
#070336 #210336 #360331
triadic
#210336 #362103 #033621
tetradic
#210336 #360703 #183603 #033136
square
#210336 #360703 #183603 #033136
split-complementary
#210336 #313603 #033607
monochromatic
#12021D #12021D #210336 #440670 #6809AA

Accessibility & contrast

On white

18.57
#210336 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#210336 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #210336
18.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210336#FFFFFF#000000##FFFFFF
##2103361.0018.571.1318.57
#FFFFFF18.571.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001237
Deuteranopia (green-blind)
#001335
Tritanopia (blue-blind)
#1D101C
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #210336;
/* rgb */ color: rgb(33, 3, 54);
/* oklch */ color: oklch(19.9% 0.094 306.6);
Tailwind
colors: {
  custom: {
    50: '#5f476d',
    500: '#210336',
    950: '#000000',
  },
}
SCSS
$custom: #210336;
$custom-light: #5f476d;
$custom-dark: #000000;
JSON
{
  "hex": "#210336",
  "rgb": {
    "r": 33,
    "g": 3,
    "b": 54
  },
  "hsl": {
    "h": 275.294,
    "s": 89.474,
    "l": 11.176
  },
  "oklch": {
    "l": 0.19944,
    "c": 0.09381,
    "h": 306.6
  },
  "luminance": 0.00655
}

Semantic roles & 50–950 ramp

primary
#210336
secondary
#42791C
accent
#FF2981
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#050007
muted
#79777A

Preview Lab

Preview with #210336

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

Preview Lab → · Contrast checker → · Palette generator →

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