#211652#211652

#211652 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.7% C 0.104 H 284.9°. Best body text is #FFFFFF at 16.14:1 contrast (WCAG AA passes).

Color values

HEX#211652
RGBrgb(33, 22, 82)
HSLhsl(251, 58%, 20%)
HSVhsv(251, 73%, 32%)
CMYKcmyk(59.8%, 73.2%, 0%, 67.8%)
CIE-LABlab(12.65, 23.95, -34.87)
CIE-LCHlch(12.65, 42.30, 304.48°)
OKLaboklab(25.72% 0.0266 -0.1002)
OKLCHoklch(25.72% 0.104 284.9)
XYZxyz(2.4366, 1.5062, 8.1433)
Luminance0.0151 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211652 #475216
analogous
#162952 #211652 #3F1652
triadic
#211652 #522116 #165221
tetradic
#211652 #521629 #475216 #16523F
square
#211652 #521629 #475216 #16523F
split-complementary
#211652 #523F16 #295216
monochromatic
#0A0618 #0E0922 #211652 #342382 #4830B3

Accessibility & contrast

On white

16.14
#211652 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#211652 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211652
16.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211652#FFFFFF#000000##FFFFFF
##2116521.0016.141.3016.14
#FFFFFF16.141.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002354
Deuteranopia (green-blind)
#001F51
Tritanopia (blue-blind)
#0B2531
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #211652;
/* rgb */ color: rgb(33, 22, 82);
/* oklch */ color: oklch(25.7% 0.104 284.9);
Tailwind
colors: {
  custom: {
    50: '#625483',
    500: '#211652',
    950: '#000000',
  },
}
SCSS
$custom: #211652;
$custom-light: #625483;
$custom-dark: #000000;
JSON
{
  "hex": "#211652",
  "rgb": {
    "r": 33,
    "g": 22,
    "b": 82
  },
  "hsl": {
    "h": 251,
    "s": 57.692,
    "l": 20.392
  },
  "oklch": {
    "l": 0.25724,
    "c": 0.10369,
    "h": 284.9
  },
  "luminance": 0.01506
}

Semantic roles & 50–950 ramp

primary
#211652
secondary
#7B893A
accent
#E147C5
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#05020B
muted
#7A787C

Preview Lab

Preview with #211652

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

Preview Lab → · Contrast checker → · Palette generator →

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