#211651#211651

#211651 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.6% C 0.102 H 285.2°. Best body text is #FFFFFF at 16.18:1 contrast (WCAG AA passes).

Color values

HEX#211651
RGBrgb(33, 22, 81)
HSLhsl(251, 57%, 20%)
HSVhsv(251, 73%, 32%)
CMYKcmyk(59.3%, 72.8%, 0%, 68.2%)
CIE-LABlab(12.55, 23.60, -34.35)
CIE-LCHlch(12.55, 41.67, 304.49°)
OKLaboklab(25.62% 0.0267 -0.0987)
OKLCHoklch(25.62% 0.102 285.2)
XYZxyz(2.3989, 1.4911, 7.9444)
Luminance0.0149 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211651 #465116
analogous
#162951 #211651 #3E1651
triadic
#211651 #512116 #165121
tetradic
#211651 #511629 #465116 #16513E
square
#211651 #511629 #465116 #16513E
split-complementary
#211651 #513E16 #295116
monochromatic
#0A0718 #0D0921 #211651 #352381 #4830B1

Accessibility & contrast

On white

16.18
#211651 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #211651
16.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211651#FFFFFF#000000##FFFFFF
##2116511.0016.181.3016.18
#FFFFFF16.181.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002253
Deuteranopia (green-blind)
#001F50
Tritanopia (blue-blind)
#0C2531
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #211651;
/* rgb */ color: rgb(33, 22, 81);
/* oklch */ color: oklch(25.6% 0.102 285.2);
Tailwind
colors: {
  custom: {
    50: '#625482',
    500: '#211651',
    950: '#000000',
  },
}
SCSS
$custom: #211651;
$custom-light: #625482;
$custom-dark: #000000;
JSON
{
  "hex": "#211651",
  "rgb": {
    "r": 33,
    "g": 22,
    "b": 81
  },
  "hsl": {
    "h": 251.186,
    "s": 57.282,
    "l": 20.196
  },
  "oklch": {
    "l": 0.25625,
    "c": 0.10224,
    "h": 285.2
  },
  "luminance": 0.01491
}

Semantic roles & 50–950 ramp

primary
#211651
secondary
#7A883A
accent
#E147C4
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#05020A
muted
#7A787C

Preview Lab

Preview with #211651

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

Preview Lab → · Contrast checker → · Palette generator →

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