#211134#211134

#211134 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.1% C 0.067 H 302.3°. Best body text is #FFFFFF at 17.58:1 contrast (WCAG AA passes).

Color values

HEX#211134
RGBrgb(33, 17, 52)
HSLhsl(267, 51%, 14%)
HSVhsv(267, 67%, 20%)
CMYKcmyk(36.5%, 67.3%, 0%, 79.6%)
CIE-LABlab(8.76, 17.22, -20.04)
CIE-LCHlch(8.76, 26.42, 310.66°)
OKLaboklab(22.07% 0.0358 -0.0566)
OKLCHoklch(22.07% 0.067 302.3)
XYZxyz(1.4473, 0.9722, 3.3595)
Luminance0.0097 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211134 #243411
analogous
#111234 #211134 #321134
triadic
#211134 #342111 #113421
tetradic
#211134 #341112 #243411 #113432
square
#211134 #341112 #243411 #113432
split-complementary
#211134 #343211 #123411
monochromatic
#0F0817 #0F0817 #211134 #3E2062 #5C2F90

Accessibility & contrast

On white

17.58
#211134 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#211134 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211134
17.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211134#FFFFFF#000000##FFFFFF
##2111341.0017.581.1917.58
#FFFFFF17.581.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041935
Deuteranopia (green-blind)
#091933
Tritanopia (blue-blind)
#1D1820
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #211134;
/* rgb */ color: rgb(33, 17, 52);
/* oklch */ color: oklch(22.1% 0.067 302.3);
Tailwind
colors: {
  custom: {
    50: '#5e4f6c',
    500: '#211134',
    950: '#000000',
  },
}
SCSS
$custom: #211134;
$custom-light: #5e4f6c;
$custom-dark: #000000;
JSON
{
  "hex": "#211134",
  "rgb": {
    "r": 33,
    "g": 17,
    "b": 52
  },
  "hsl": {
    "h": 267.429,
    "s": 50.725,
    "l": 13.529
  },
  "oklch": {
    "l": 0.2207,
    "c": 0.06704,
    "h": 302.3
  },
  "luminance": 0.00972
}

Semantic roles & 50–950 ramp

primary
#211134
secondary
#536D34
accent
#DA4E9A
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040207
muted
#79787A

Preview Lab

Preview with #211134

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

Preview Lab → · Contrast checker → · Palette generator →

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