#211237#211237

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

Color values

HEX#211237
RGBrgb(33, 18, 55)
HSLhsl(264, 51%, 14%)
HSVhsv(264, 67%, 22%)
CMYKcmyk(40%, 67.3%, 0%, 78.4%)
CIE-LABlab(9.25, 17.48, -21.43)
CIE-LCHlch(9.25, 27.65, 309.20°)
OKLaboklab(22.51% 0.0343 -0.0607)
OKLCHoklch(22.51% 0.07 299.5)
XYZxyz(1.5329, 1.0318, 3.7321)
Luminance0.0103 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211237 #283712
analogous
#121637 #211237 #341237
triadic
#211237 #372112 #123721
tetradic
#211237 #371216 #283712 #123734
square
#211237 #371216 #283712 #123734
split-complementary
#211237 #373412 #163712
monochromatic
#0E0817 #0E0817 #211237 #3D2165 #583093

Accessibility & contrast

On white

17.41
#211237 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #211237
17.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211237#FFFFFF#000000##FFFFFF
##2112371.0017.411.2117.41
#FFFFFF17.411.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031A38
Deuteranopia (green-blind)
#071A36
Tritanopia (blue-blind)
#1C1A22
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #211237;
/* rgb */ color: rgb(33, 18, 55);
/* oklch */ color: oklch(22.5% 0.070 299.5);
Tailwind
colors: {
  custom: {
    50: '#5e506e',
    500: '#211237',
    950: '#000000',
  },
}
SCSS
$custom: #211237;
$custom-light: #5e506e;
$custom-dark: #000000;
JSON
{
  "hex": "#211237",
  "rgb": {
    "r": 33,
    "g": 18,
    "b": 55
  },
  "hsl": {
    "h": 264.324,
    "s": 50.685,
    "l": 14.314
  },
  "oklch": {
    "l": 0.22509,
    "c": 0.06972,
    "h": 299.5
  },
  "luminance": 0.01032
}

Semantic roles & 50–950 ramp

primary
#211237
secondary
#587035
accent
#DA4EA1
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#040207
muted
#79787A

Preview Lab

Preview with #211237

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

Preview Lab → · Contrast checker → · Palette generator →

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