#210236#210236

#210236 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.8% C 0.096 H 306.9°. Best body text is #FFFFFF at 18.64:1 contrast (WCAG AA passes).

Color values

HEX#210236
RGBrgb(33, 2, 54)
HSLhsl(276, 93%, 11%)
HSVhsv(276, 96%, 21%)
CMYKcmyk(38.9%, 96.3%, 0%, 78.8%)
CIE-LABlab(5.72, 26.41, -26.40)
CIE-LCHlch(5.72, 37.34, 315.00°)
OKLaboklab(19.78% 0.0574 -0.0765)
OKLCHoklch(19.78% 0.096 306.9)
XYZxyz(1.3146, 0.6331, 3.5423)
Luminance0.0063 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210236 #173602
analogous
#070236 #210236 #360231
triadic
#210236 #362102 #023621
tetradic
#210236 #360702 #173602 #023136
square
#210236 #360702 #173602 #023136
split-complementary
#210236 #313602 #023607
monochromatic
#12011E #12011E #210236 #450471 #6906AC

Accessibility & contrast

On white

18.64
#210236 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #210236
18.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210236#FFFFFF#000000##FFFFFF
##2102361.0018.641.1318.64
#FFFFFF18.641.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #210236;
/* rgb */ color: rgb(33, 2, 54);
/* oklch */ color: oklch(19.8% 0.096 306.9);
Tailwind
colors: {
  custom: {
    50: '#5f476d',
    500: '#210236',
    950: '#000000',
  },
}
SCSS
$custom: #210236;
$custom-light: #5f476d;
$custom-dark: #000000;
JSON
{
  "hex": "#210236",
  "rgb": {
    "r": 33,
    "g": 2,
    "b": 54
  },
  "hsl": {
    "h": 275.769,
    "s": 92.857,
    "l": 10.98
  },
  "oklch": {
    "l": 0.19777,
    "c": 0.09567,
    "h": 306.9
  },
  "luminance": 0.00633
}

Semantic roles & 50–950 ramp

primary
#210236
secondary
#417A1A
accent
#FF297F
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#050007
muted
#79777A

Preview Lab

Preview with #210236

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

Preview Lab → · Contrast checker → · Palette generator →

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