#210334#210334

#210334 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.7% C 0.092 H 308.2°. Best body text is #FFFFFF at 18.63:1 contrast (WCAG AA passes).

Color values

HEX#210334
RGBrgb(33, 3, 52)
HSLhsl(277, 89%, 11%)
HSVhsv(277, 94%, 20%)
CMYKcmyk(36.5%, 94.2%, 0%, 79.6%)
CIE-LABlab(5.75, 25.20, -24.88)
CIE-LCHlch(5.75, 35.41, 315.36°)
OKLaboklab(19.74% 0.0566 -0.072)
OKLCHoklch(19.74% 0.092 308.2)
XYZxyz(1.2795, 0.6364, 3.3036)
Luminance0.0064 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210334 #163403
analogous
#080334 #210334 #34032E
triadic
#210334 #342103 #033421
tetradic
#210334 #340803 #163403 #032E34
square
#210334 #340803 #163403 #032E34
split-complementary
#210334 #2E3403 #033408
monochromatic
#12021D #12021D #210334 #46066E #6A0AA8

Accessibility & contrast

On white

18.63
#210334 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #210334
18.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210334#FFFFFF#000000##FFFFFF
##2103341.0018.631.1318.63
#FFFFFF18.631.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001235
Deuteranopia (green-blind)
#001333
Tritanopia (blue-blind)
#1E0F1B
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #210334;
/* rgb */ color: rgb(33, 3, 52);
/* oklch */ color: oklch(19.7% 0.092 308.2);
Tailwind
colors: {
  custom: {
    50: '#5f476c',
    500: '#210334',
    950: '#000000',
  },
}
SCSS
$custom: #210334;
$custom-light: #5f476c;
$custom-dark: #000000;
JSON
{
  "hex": "#210334",
  "rgb": {
    "r": 33,
    "g": 3,
    "b": 52
  },
  "hsl": {
    "h": 276.735,
    "s": 89.091,
    "l": 10.784
  },
  "oklch": {
    "l": 0.19739,
    "c": 0.09161,
    "h": 308.2
  },
  "luminance": 0.00636
}

Semantic roles & 50–950 ramp

primary
#210334
secondary
#3F771C
accent
#FF297C
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#050007
muted
#79777A

Preview Lab

Preview with #210334

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

Preview Lab → · Contrast checker → · Palette generator →

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