#211256#211256

#211256 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.5% C 0.115 H 285.0°. Best body text is #FFFFFF at 16.33:1 contrast (WCAG AA passes).

Color values

HEX#211256
RGBrgb(33, 18, 86)
HSLhsl(253, 65%, 20%)
HSVhsv(253, 79%, 34%)
CMYKcmyk(61.6%, 79.1%, 0%, 66.3%)
CIE-LABlab(12.14, 27.85, -38.42)
CIE-LCHlch(12.14, 47.46, 305.93°)
OKLaboklab(25.49% 0.0296 -0.1106)
OKLCHoklch(25.49% 0.115 285)
XYZxyz(2.5227, 1.4277, 8.9449)
Luminance0.0143 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211256 #475612
analogous
#122556 #211256 #431256
triadic
#211256 #562112 #125621
tetradic
#211256 #561225 #475612 #125643
square
#211256 #561225 #475612 #125643
split-complementary
#211256 #564312 #255612
monochromatic
#0A0519 #0E0723 #211256 #341D89 #4827BB

Accessibility & contrast

On white

16.33
#211256 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#211256 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211256
16.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211256#FFFFFF#000000##FFFFFF
##2112561.0016.331.2916.33
#FFFFFF16.331.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002258
Deuteranopia (green-blind)
#001E55
Tritanopia (blue-blind)
#072533
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #211256;
/* rgb */ color: rgb(33, 18, 86);
/* oklch */ color: oklch(25.5% 0.115 285.0);
Tailwind
colors: {
  custom: {
    50: '#645186',
    500: '#211256',
    950: '#000000',
  },
}
SCSS
$custom: #211256;
$custom-light: #645186;
$custom-dark: #000000;
JSON
{
  "hex": "#211256",
  "rgb": {
    "r": 33,
    "g": 18,
    "b": 86
  },
  "hsl": {
    "h": 253.235,
    "s": 65.385,
    "l": 20.392
  },
  "oklch": {
    "l": 0.25487,
    "c": 0.11453,
    "h": 285
  },
  "luminance": 0.01428
}

Semantic roles & 50–950 ramp

primary
#211256
secondary
#7B8F35
accent
#E83FC3
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #211256

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

Preview Lab → · Contrast checker → · Palette generator →

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