#211140#211140

#211140 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.1% C 0.085 H 294.5°. Best body text is #FFFFFF at 17.23:1 contrast (WCAG AA passes).

Color values

HEX#211140
RGBrgb(33, 17, 64)
HSLhsl(260, 58%, 16%)
HSVhsv(260, 73%, 25%)
CMYKcmyk(48.4%, 73.4%, 0%, 74.9%)
CIE-LABlab(9.75, 21.09, -27.06)
CIE-LCHlch(9.75, 34.31, 307.93°)
OKLaboklab(23.11% 0.0352 -0.0773)
OKLCHoklch(23.11% 0.085 294.5)
XYZxyz(1.7528, 1.0944, 4.9684)
Luminance0.0109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211140 #304011
analogous
#111840 #211140 #381140
triadic
#211140 #402111 #114021
tetradic
#211140 #401118 #304011 #114038
square
#211140 #401118 #304011 #114038
split-complementary
#211140 #403811 #184011
monochromatic
#0C0618 #0C0618 #211140 #3A1E70 #532BA1

Accessibility & contrast

On white

17.23
#211140 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#211140 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211140
17.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211140#FFFFFF#000000##FFFFFF
##2111401.0017.231.2217.23
#FFFFFF17.231.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B41
Deuteranopia (green-blind)
#001A3F
Tritanopia (blue-blind)
#191C26
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #211140;
/* rgb */ color: rgb(33, 17, 64);
/* oklch */ color: oklch(23.1% 0.085 294.5);
Tailwind
colors: {
  custom: {
    50: '#5f5075',
    500: '#211140',
    950: '#000000',
  },
}
SCSS
$custom: #211140;
$custom-light: #5f5075;
$custom-dark: #000000;
JSON
{
  "hex": "#211140",
  "rgb": {
    "r": 33,
    "g": 17,
    "b": 64
  },
  "hsl": {
    "h": 260.426,
    "s": 58.025,
    "l": 15.882
  },
  "oklch": {
    "l": 0.23113,
    "c": 0.0849,
    "h": 294.5
  },
  "luminance": 0.01094
}

Semantic roles & 50–950 ramp

primary
#211140
secondary
#627933
accent
#E147AD
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#050208
muted
#79787B

Preview Lab

Preview with #211140

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

Preview Lab → · Contrast checker → · Palette generator →

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