#210835#210835

#210835 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 20.6% C 0.084 H 305.6°. Best body text is #FFFFFF at 18.25:1 contrast (WCAG AA passes).

Color values

HEX#210835
RGBrgb(33, 8, 53)
HSLhsl(273, 74%, 12%)
HSVhsv(273, 85%, 21%)
CMYKcmyk(37.7%, 84.9%, 0%, 79.2%)
CIE-LABlab(6.81, 22.96, -23.91)
CIE-LCHlch(6.81, 33.14, 313.84°)
OKLaboklab(20.65% 0.0488 -0.0683)
OKLCHoklch(20.65% 0.084 305.6)
XYZxyz(1.3565, 0.7541, 3.4416)
Luminance0.0075 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210835 #1C3508
analogous
#0B0835 #210835 #350833
triadic
#210835 #352108 #083521
tetradic
#210835 #350B08 #1C3508 #083335
square
#210835 #350B08 #1C3508 #083335
split-complementary
#210835 #333508 #08350B
monochromatic
#11041B #11041B #210835 #42106A #63189F

Accessibility & contrast

On white

18.25
#210835 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #210835
18.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210835#FFFFFF#000000##FFFFFF
##2108351.0018.251.1518.25
#FFFFFF18.251.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001436
Deuteranopia (green-blind)
#001534
Tritanopia (blue-blind)
#1D131D
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #210835;
/* rgb */ color: rgb(33, 8, 53);
/* oklch */ color: oklch(20.6% 0.084 305.6);
Tailwind
colors: {
  custom: {
    50: '#5f4a6d',
    500: '#210835',
    950: '#000000',
  },
}
SCSS
$custom: #210835;
$custom-light: #5f4a6d;
$custom-dark: #000000;
JSON
{
  "hex": "#210835",
  "rgb": {
    "r": 33,
    "g": 8,
    "b": 53
  },
  "hsl": {
    "h": 273.333,
    "s": 73.77,
    "l": 11.961
  },
  "oklch": {
    "l": 0.20646,
    "c": 0.08392,
    "h": 305.6
  },
  "luminance": 0.00754
}

Semantic roles & 50–950 ramp

primary
#210835
secondary
#487425
accent
#F0378A
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#050107
muted
#79777A

Preview Lab

Preview with #210835

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

Preview Lab → · Contrast checker → · Palette generator →

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