#211052#211052

#211052 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.8% C 0.112 H 286.9°. Best body text is #FFFFFF at 16.66:1 contrast (WCAG AA passes).

Color values

HEX#211052
RGBrgb(33, 16, 82)
HSLhsl(255, 67%, 19%)
HSVhsv(255, 80%, 32%)
CMYKcmyk(59.8%, 80.5%, 0%, 67.8%)
CIE-LABlab(11.30, 27.69, -37.08)
CIE-LCHlch(11.30, 46.28, 306.75°)
OKLaboklab(24.76% 0.0325 -0.1067)
OKLCHoklch(24.76% 0.112 286.9)
XYZxyz(2.3350, 1.3030, 8.1095)
Luminance0.0130 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211052 #415210
analogous
#102052 #211052 #421052
triadic
#211052 #522110 #105221
tetradic
#211052 #521020 #415210 #105242
square
#211052 #521020 #415210 #105242
split-complementary
#211052 #524210 #205210
monochromatic
#0A051A #0C061F #211052 #361A85 #4A24B8

Accessibility & contrast

On white

16.66
#211052 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#211052 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211052
16.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211052#FFFFFF#000000##FFFFFF
##2110521.0016.661.2616.66
#FFFFFF16.661.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002054
Deuteranopia (green-blind)
#001C51
Tritanopia (blue-blind)
#0C2230
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #211052;
/* rgb */ color: rgb(33, 16, 82);
/* oklch */ color: oklch(24.8% 0.112 286.9);
Tailwind
colors: {
  custom: {
    50: '#635083',
    500: '#211052',
    950: '#000000',
  },
}
SCSS
$custom: #211052;
$custom-light: #635083;
$custom-dark: #000000;
JSON
{
  "hex": "#211052",
  "rgb": {
    "r": 33,
    "g": 16,
    "b": 82
  },
  "hsl": {
    "h": 255.455,
    "s": 67.347,
    "l": 19.216
  },
  "oklch": {
    "l": 0.24761,
    "c": 0.11152,
    "h": 286.9
  },
  "luminance": 0.01303
}

Semantic roles & 50–950 ramp

primary
#211052
secondary
#758C32
accent
#EA3EBE
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #211052

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

Preview Lab → · Contrast checker → · Palette generator →

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