#210841#210841

#210841 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.9% C 0.099 H 297.3°. Best body text is #FFFFFF at 17.86:1 contrast (WCAG AA passes).

Color values

HEX#210841
RGBrgb(33, 8, 65)
HSLhsl(266, 78%, 14%)
HSVhsv(266, 88%, 25%)
CMYKcmyk(49.2%, 87.7%, 0%, 74.5%)
CIE-LABlab(7.94, 26.76, -30.74)
CIE-LCHlch(7.94, 40.75, 311.04°)
OKLaboklab(21.85% 0.0454 -0.088)
OKLCHoklch(21.85% 0.099 297.3)
XYZxyz(1.6679, 0.8786, 5.0817)
Luminance0.0088 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210841 #284108
analogous
#080C41 #210841 #3E0841
triadic
#210841 #412108 #084121
tetradic
#210841 #41080C #284108 #08413E
square
#210841 #41080C #284108 #08413E
split-complementary
#210841 #413E08 #0C4108
monochromatic
#0E031B #0E031B #210841 #3D0F77 #5815AE

Accessibility & contrast

On white

17.86
#210841 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#210841 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #210841
17.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210841#FFFFFF#000000##FFFFFF
##2108411.0017.861.1817.86
#FFFFFF17.861.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001843
Deuteranopia (green-blind)
#001740
Tritanopia (blue-blind)
#191824
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #210841;
/* rgb */ color: rgb(33, 8, 65);
/* oklch */ color: oklch(21.9% 0.099 297.3);
Tailwind
colors: {
  custom: {
    50: '#614a76',
    500: '#210841',
    950: '#000000',
  },
}
SCSS
$custom: #210841;
$custom-light: #614a76;
$custom-dark: #000000;
JSON
{
  "hex": "#210841",
  "rgb": {
    "r": 33,
    "g": 8,
    "b": 65
  },
  "hsl": {
    "h": 266.316,
    "s": 78.082,
    "l": 14.314
  },
  "oklch": {
    "l": 0.21851,
    "c": 0.09904,
    "h": 297.3
  },
  "luminance": 0.00879
}

Semantic roles & 50–950 ramp

primary
#210841
secondary
#587F25
accent
#F533A0
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050108
muted
#79777B

Preview Lab

Preview with #210841

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

Preview Lab → · Contrast checker → · Palette generator →

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