#211341#211341

#211341 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 23.6% C 0.083 H 292.9°. Best body text is #FFFFFF at 17.02:1 contrast (WCAG AA passes).

Color values

HEX#211341
RGBrgb(33, 19, 65)
HSLhsl(258, 55%, 16%)
HSVhsv(258, 71%, 25%)
CMYKcmyk(49.2%, 70.8%, 0%, 74.5%)
CIE-LABlab(10.34, 20.08, -26.82)
CIE-LCHlch(10.34, 33.51, 306.82°)
OKLaboklab(23.57% 0.0324 -0.0766)
OKLCHoklch(23.57% 0.083 292.9)
XYZxyz(1.8139, 1.1707, 5.1304)
Luminance0.0117 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211341 #334113
analogous
#131C41 #211341 #381341
triadic
#211341 #412113 #134121
tetradic
#211341 #41131C #334113 #134138
square
#211341 #41131C #334113 #134138
split-complementary
#211341 #413813 #1C4113
monochromatic
#0C0718 #0C0718 #211341 #392170 #512FA0

Accessibility & contrast

On white

17.02
#211341 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#211341 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211341
17.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211341#FFFFFF#000000##FFFFFF
##2113411.0017.021.2317.02
#FFFFFF17.021.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D42
Deuteranopia (green-blind)
#001B40
Tritanopia (blue-blind)
#181E27
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #211341;
/* rgb */ color: rgb(33, 19, 65);
/* oklch */ color: oklch(23.6% 0.083 292.9);
Tailwind
colors: {
  custom: {
    50: '#5f5176',
    500: '#211341',
    950: '#000000',
  },
}
SCSS
$custom: #211341;
$custom-light: #5f5176;
$custom-dark: #000000;
JSON
{
  "hex": "#211341",
  "rgb": {
    "r": 33,
    "g": 19,
    "b": 65
  },
  "hsl": {
    "h": 258.261,
    "s": 54.762,
    "l": 16.471
  },
  "oklch": {
    "l": 0.23565,
    "c": 0.08315,
    "h": 292.9
  },
  "luminance": 0.01171
}

Semantic roles & 50–950 ramp

primary
#211341
secondary
#657A36
accent
#DE4AB1
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#050208
muted
#79787B

Preview Lab

Preview with #211341

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

Preview Lab → · Contrast checker → · Palette generator →

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