#211165#211165

#211165 is a dark, vivid violet. Relative luminance 0.017; OKLCH L 27.0% C 0.135 H 281.1°. Best body text is #FFFFFF at 15.76:1 contrast (WCAG AA passes).

Color values

HEX#211165
RGBrgb(33, 17, 101)
HSLhsl(251, 71%, 23%)
HSVhsv(251, 83%, 40%)
CMYKcmyk(67.3%, 83.2%, 0%, 60.4%)
CIE-LABlab(13.61, 33.40, -46.05)
CIE-LCHlch(13.61, 56.89, 305.96°)
OKLaboklab(27.02% 0.026 -0.1329)
OKLCHoklch(27.02% 0.135 281.1)
XYZxyz(3.1759, 1.6636, 12.4631)
Luminance0.0166 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211165 #556511
analogous
#112B65 #211165 #4B1165
triadic
#211165 #652111 #116521
tetradic
#211165 #65112B #556511 #11654B
square
#211165 #65112B #556511 #11654B
split-complementary
#211165 #654B11 #2B6511
monochromatic
#09041A #100831 #211165 #321A99 #4323CE

Accessibility & contrast

On white

15.76
#211165 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#211165 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211165
15.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211165#FFFFFF#000000##FFFFFF
##2111651.0015.761.3315.76
#FFFFFF15.761.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002667
Deuteranopia (green-blind)
#002064
Tritanopia (blue-blind)
#002A3B
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #211165;
/* rgb */ color: rgb(33, 17, 101);
/* oklch */ color: oklch(27.0% 0.135 281.1);
Tailwind
colors: {
  custom: {
    50: '#675292',
    500: '#211165',
    950: '#000000',
  },
}
SCSS
$custom: #211165;
$custom-light: #675292;
$custom-dark: #000000;
JSON
{
  "hex": "#211165",
  "rgb": {
    "r": 33,
    "g": 17,
    "b": 101
  },
  "hsl": {
    "h": 251.429,
    "s": 71.186,
    "l": 23.137
  },
  "oklch": {
    "l": 0.27021,
    "c": 0.13541,
    "h": 281.1
  },
  "luminance": 0.01664
}

Semantic roles & 50–950 ramp

primary
#211165
secondary
#899D35
accent
#EE3ACC
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#07020D
muted
#7A787E

Preview Lab

Preview with #211165

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

Preview Lab → · Contrast checker → · Palette generator →

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