#210836#210836

#210836 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 20.7% C 0.085 H 304.8°. Best body text is #FFFFFF at 18.22:1 contrast (WCAG AA passes).

Color values

HEX#210836
RGBrgb(33, 8, 54)
HSLhsl(273, 74%, 12%)
HSVhsv(273, 85%, 21%)
CMYKcmyk(38.9%, 85.2%, 0%, 78.8%)
CIE-LABlab(6.89, 23.29, -24.50)
CIE-LCHlch(6.89, 33.80, 313.54°)
OKLaboklab(20.74% 0.0486 -0.07)
OKLCHoklch(20.74% 0.085 304.8)
XYZxyz(1.3797, 0.7633, 3.5640)
Luminance0.0076 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210836 #1D3608
analogous
#0A0836 #210836 #360834
triadic
#210836 #362108 #083621
tetradic
#210836 #360A08 #1D3608 #083436
square
#210836 #360A08 #1D3608 #083436
split-complementary
#210836 #343608 #08360A
monochromatic
#10041B #10041B #210836 #42106B #6218A1

Accessibility & contrast

On white

18.22
#210836 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #210836
18.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210836#FFFFFF#000000##FFFFFF
##2108361.0018.221.1518.22
#FFFFFF18.221.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001537
Deuteranopia (green-blind)
#001535
Tritanopia (blue-blind)
#1D131E
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #210836;
/* rgb */ color: rgb(33, 8, 54);
/* oklch */ color: oklch(20.7% 0.085 304.8);
Tailwind
colors: {
  custom: {
    50: '#5f4a6d',
    500: '#210836',
    950: '#000000',
  },
}
SCSS
$custom: #210836;
$custom-light: #5f4a6d;
$custom-dark: #000000;
JSON
{
  "hex": "#210836",
  "rgb": {
    "r": 33,
    "g": 8,
    "b": 54
  },
  "hsl": {
    "h": 272.609,
    "s": 74.194,
    "l": 12.157
  },
  "oklch": {
    "l": 0.20741,
    "c": 0.0852,
    "h": 304.8
  },
  "luminance": 0.00763
}

Semantic roles & 50–950 ramp

primary
#210836
secondary
#497525
accent
#F1378C
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#050107
muted
#79777A

Preview Lab

Preview with #210836

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

Preview Lab → · Contrast checker → · Palette generator →

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