#211335#211335

#211335 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.5% C 0.065 H 300.3°. Best body text is #FFFFFF at 17.37:1 contrast (WCAG AA passes).

Color values

HEX#211335
RGBrgb(33, 19, 53)
HSLhsl(265, 47%, 14%)
HSVhsv(265, 64%, 21%)
CMYKcmyk(37.7%, 64.2%, 0%, 79.2%)
CIE-LABlab(9.37, 16.13, -19.79)
CIE-LCHlch(9.37, 25.53, 309.19°)
OKLaboklab(22.55% 0.0326 -0.0559)
OKLCHoklch(22.55% 0.065 300.3)
XYZxyz(1.5025, 1.0461, 3.4902)
Luminance0.0105 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211335 #273513
analogous
#131635 #211335 #321335
triadic
#211335 #352113 #133521
tetradic
#211335 #351316 #273513 #133532
square
#211335 #351316 #273513 #133532
split-complementary
#211335 #353213 #163513
monochromatic
#0E0817 #0E0817 #211335 #3D2362 #59338F

Accessibility & contrast

On white

17.37
#211335 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#211335 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211335
17.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211335#FFFFFF#000000##FFFFFF
##2113351.0017.371.2117.37
#FFFFFF17.371.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061A36
Deuteranopia (green-blind)
#0A1A34
Tritanopia (blue-blind)
#1D1A21
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #211335;
/* rgb */ color: rgb(33, 19, 53);
/* oklch */ color: oklch(22.5% 0.065 300.3);
Tailwind
colors: {
  custom: {
    50: '#5e516c',
    500: '#211335',
    950: '#000000',
  },
}
SCSS
$custom: #211335;
$custom-light: #5e516c;
$custom-dark: #000000;
JSON
{
  "hex": "#211335",
  "rgb": {
    "r": 33,
    "g": 19,
    "b": 53
  },
  "hsl": {
    "h": 264.706,
    "s": 47.222,
    "l": 14.118
  },
  "oklch": {
    "l": 0.22546,
    "c": 0.06474,
    "h": 300.3
  },
  "luminance": 0.01046
}

Semantic roles & 50–950 ramp

primary
#211335
secondary
#576D37
accent
#D751A0
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040207
muted
#79787A

Preview Lab

Preview with #211335

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

Preview Lab → · Contrast checker → · Palette generator →

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