#211138#211138

#211138 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.4% C 0.073 H 299.4°. Best body text is #FFFFFF at 17.47:1 contrast (WCAG AA passes).

Color values

HEX#211138
RGBrgb(33, 17, 56)
HSLhsl(265, 53%, 14%)
HSVhsv(265, 70%, 22%)
CMYKcmyk(41.1%, 69.6%, 0%, 78%)
CIE-LABlab(9.07, 18.49, -22.44)
CIE-LCHlch(9.07, 29.08, 309.48°)
OKLaboklab(22.4% 0.0358 -0.0637)
OKLCHoklch(22.4% 0.073 299.4)
XYZxyz(1.5413, 1.0097, 3.8543)
Luminance0.0101 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211138 #283811
analogous
#111538 #211138 #351138
triadic
#211138 #382111 #113821
tetradic
#211138 #381115 #283811 #113835
square
#211138 #381115 #283811 #113835
split-complementary
#211138 #383511 #153811
monochromatic
#0E0717 #0E0717 #211138 #3D1F67 #582E96

Accessibility & contrast

On white

17.47
#211138 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#211138 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211138
17.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211138#FFFFFF#000000##FFFFFF
##2111381.0017.471.2017.47
#FFFFFF17.471.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A39
Deuteranopia (green-blind)
#051937
Tritanopia (blue-blind)
#1C1922
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #211138;
/* rgb */ color: rgb(33, 17, 56);
/* oklch */ color: oklch(22.4% 0.073 299.4);
Tailwind
colors: {
  custom: {
    50: '#5e4f6f',
    500: '#211138',
    950: '#000000',
  },
}
SCSS
$custom: #211138;
$custom-light: #5e4f6f;
$custom-dark: #000000;
JSON
{
  "hex": "#211138",
  "rgb": {
    "r": 33,
    "g": 17,
    "b": 56
  },
  "hsl": {
    "h": 264.615,
    "s": 53.425,
    "l": 14.314
  },
  "oklch": {
    "l": 0.22402,
    "c": 0.07306,
    "h": 299.4
  },
  "luminance": 0.0101
}

Semantic roles & 50–950 ramp

primary
#211138
secondary
#587134
accent
#DD4BA1
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#040207
muted
#79787A

Preview Lab

Preview with #211138

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

Preview Lab → · Contrast checker → · Palette generator →

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