#210834#210834

#210834 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.6% C 0.083 H 306.4°. Best body text is #FFFFFF at 18.28:1 contrast (WCAG AA passes).

Color values

HEX#210834
RGBrgb(33, 8, 52)
HSLhsl(274, 73%, 12%)
HSVhsv(274, 85%, 20%)
CMYKcmyk(36.5%, 84.6%, 0%, 79.6%)
CIE-LABlab(6.73, 22.63, -23.31)
CIE-LCHlch(6.73, 32.49, 314.16°)
OKLaboklab(20.55% 0.049 -0.0665)
OKLCHoklch(20.55% 0.083 306.4)
XYZxyz(1.3337, 0.7449, 3.3217)
Luminance0.0075 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210834 #1B3408
analogous
#0B0834 #210834 #340831
triadic
#210834 #342108 #083421
tetradic
#210834 #340B08 #1B3408 #083134
square
#210834 #340B08 #1B3408 #083134
split-complementary
#210834 #313408 #08340B
monochromatic
#11041B #11041B #210834 #431069 #64189E

Accessibility & contrast

On white

18.28
#210834 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #210834
18.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210834#FFFFFF#000000##FFFFFF
##2108341.0018.281.1518.28
#FFFFFF18.281.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001435
Deuteranopia (green-blind)
#001533
Tritanopia (blue-blind)
#1E121D
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #210834;
/* rgb */ color: rgb(33, 8, 52);
/* oklch */ color: oklch(20.6% 0.083 306.4);
Tailwind
colors: {
  custom: {
    50: '#5f4a6c',
    500: '#210834',
    950: '#000000',
  },
}
SCSS
$custom: #210834;
$custom-light: #5f4a6c;
$custom-dark: #000000;
JSON
{
  "hex": "#210834",
  "rgb": {
    "r": 33,
    "g": 8,
    "b": 52
  },
  "hsl": {
    "h": 274.091,
    "s": 73.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.20552,
    "c": 0.08266,
    "h": 306.4
  },
  "luminance": 0.00745
}

Semantic roles & 50–950 ramp

primary
#210834
secondary
#477325
accent
#F03887
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#050107
muted
#79777A

Preview Lab

Preview with #210834

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

Preview Lab → · Contrast checker → · Palette generator →

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