#211056#211056

#211056 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.2% C 0.117 H 285.5°. Best body text is #FFFFFF at 16.49:1 contrast (WCAG AA passes).

Color values

HEX#211056
RGBrgb(33, 16, 86)
HSLhsl(255, 69%, 20%)
HSVhsv(255, 81%, 34%)
CMYKcmyk(61.6%, 81.4%, 0%, 66.3%)
CIE-LABlab(11.73, 29.02, -39.10)
CIE-LCHlch(11.73, 48.69, 306.58°)
OKLaboklab(25.2% 0.0313 -0.1126)
OKLCHoklch(25.2% 0.117 285.5)
XYZxyz(2.4917, 1.3657, 8.9346)
Luminance0.0137 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211056 #455610
analogous
#102256 #211056 #441056
triadic
#211056 #562110 #105621
tetradic
#211056 #561022 #455610 #105644
square
#211056 #561022 #455610 #105644
split-complementary
#211056 #564410 #225610
monochromatic
#0A051A #0D0622 #211056 #351A8A #4923BD

Accessibility & contrast

On white

16.49
#211056 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#211056 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211056
16.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211056#FFFFFF#000000##FFFFFF
##2110561.0016.491.2716.49
#FFFFFF16.491.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002158
Deuteranopia (green-blind)
#001D55
Tritanopia (blue-blind)
#072432
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #211056;
/* rgb */ color: rgb(33, 16, 86);
/* oklch */ color: oklch(25.2% 0.117 285.5);
Tailwind
colors: {
  custom: {
    50: '#645086',
    500: '#211056',
    950: '#000000',
  },
}
SCSS
$custom: #211056;
$custom-light: #645086;
$custom-dark: #000000;
JSON
{
  "hex": "#211056",
  "rgb": {
    "r": 33,
    "g": 16,
    "b": 86
  },
  "hsl": {
    "h": 254.571,
    "s": 68.627,
    "l": 20
  },
  "oklch": {
    "l": 0.25195,
    "c": 0.11688,
    "h": 285.5
  },
  "luminance": 0.01366
}

Semantic roles & 50–950 ramp

primary
#211056
secondary
#798F32
accent
#EB3CC1
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #211056

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

Preview Lab → · Contrast checker → · Palette generator →

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