#210335#210335

#210335 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.8% C 0.093 H 307.3°. Best body text is #FFFFFF at 18.60:1 contrast (WCAG AA passes).

Color values

HEX#210335
RGBrgb(33, 3, 53)
HSLhsl(276, 89%, 11%)
HSVhsv(276, 94%, 21%)
CMYKcmyk(37.7%, 94.3%, 0%, 79.2%)
CIE-LABlab(5.83, 25.54, -25.49)
CIE-LCHlch(5.83, 36.08, 315.07°)
OKLaboklab(19.84% 0.0562 -0.0737)
OKLCHoklch(19.84% 0.093 307.3)
XYZxyz(1.3022, 0.6455, 3.4235)
Luminance0.0065 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210335 #173503
analogous
#080335 #210335 #350330
triadic
#210335 #352103 #033521
tetradic
#210335 #350803 #173503 #033035
square
#210335 #350803 #173503 #033035
split-complementary
#210335 #303503 #033508
monochromatic
#12021D #12021D #210335 #45066F #690AA9

Accessibility & contrast

On white

18.60
#210335 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #210335
18.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210335#FFFFFF#000000##FFFFFF
##2103351.0018.601.1318.60
#FFFFFF18.601.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001236
Deuteranopia (green-blind)
#001334
Tritanopia (blue-blind)
#1E0F1C
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #210335;
/* rgb */ color: rgb(33, 3, 53);
/* oklch */ color: oklch(19.8% 0.093 307.3);
Tailwind
colors: {
  custom: {
    50: '#5f476d',
    500: '#210335',
    950: '#000000',
  },
}
SCSS
$custom: #210335;
$custom-light: #5f476d;
$custom-dark: #000000;
JSON
{
  "hex": "#210335",
  "rgb": {
    "r": 33,
    "g": 3,
    "b": 53
  },
  "hsl": {
    "h": 276,
    "s": 89.286,
    "l": 10.98
  },
  "oklch": {
    "l": 0.19841,
    "c": 0.09271,
    "h": 307.3
  },
  "luminance": 0.00645
}

Semantic roles & 50–950 ramp

primary
#210335
secondary
#41781C
accent
#FF297E
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#050007
muted
#79777A

Preview Lab

Preview with #210335

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

Preview Lab → · Contrast checker → · Palette generator →

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