#211146#211146

#211146 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 23.7% C 0.094 H 291.5°. Best body text is #FFFFFF at 17.03:1 contrast (WCAG AA passes).

Color values

HEX#211146
RGBrgb(33, 17, 70)
HSLhsl(258, 61%, 17%)
HSVhsv(258, 76%, 27%)
CMYKcmyk(52.9%, 75.7%, 0%, 72.5%)
CIE-LABlab(10.31, 23.08, -30.40)
CIE-LCHlch(10.31, 38.17, 307.21°)
OKLaboklab(23.68% 0.0342 -0.0871)
OKLCHoklch(23.68% 0.094 291.5)
XYZxyz(1.9328, 1.1664, 5.9165)
Luminance0.0117 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211146 #364611
analogous
#111C46 #211146 #3C1146
triadic
#211146 #462111 #114621
tetradic
#211146 #46111C #364611 #11463C
square
#211146 #46111C #364611 #11463C
split-complementary
#211146 #463C11 #1C4611
monochromatic
#0C0619 #0C0619 #211146 #381D77 #4F29A8

Accessibility & contrast

On white

17.03
#211146 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #211146
17.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211146#FFFFFF#000000##FFFFFF
##2111461.0017.031.2317.03
#FFFFFF17.031.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D48
Deuteranopia (green-blind)
#001B45
Tritanopia (blue-blind)
#151E29
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #211146;
/* rgb */ color: rgb(33, 17, 70);
/* oklch */ color: oklch(23.7% 0.094 291.5);
Tailwind
colors: {
  custom: {
    50: '#61507a',
    500: '#211146',
    950: '#000000',
  },
}
SCSS
$custom: #211146;
$custom-light: #61507a;
$custom-dark: #000000;
JSON
{
  "hex": "#211146",
  "rgb": {
    "r": 33,
    "g": 17,
    "b": 70
  },
  "hsl": {
    "h": 258.113,
    "s": 60.92,
    "l": 17.059
  },
  "oklch": {
    "l": 0.23684,
    "c": 0.09356,
    "h": 291.5
  },
  "luminance": 0.01166
}

Semantic roles & 50–950 ramp

primary
#211146
secondary
#698033
accent
#E444B4
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050209
muted
#79787B

Preview Lab

Preview with #211146

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

Preview Lab → · Contrast checker → · Palette generator →

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