#211356#211356

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

Color values

HEX#211356
RGBrgb(33, 19, 86)
HSLhsl(253, 64%, 21%)
HSVhsv(253, 78%, 34%)
CMYKcmyk(61.6%, 77.9%, 0%, 66.3%)
CIE-LABlab(12.36, 27.25, -38.07)
CIE-LCHlch(12.36, 46.82, 305.59°)
OKLaboklab(25.64% 0.0287 -0.1096)
OKLCHoklch(25.64% 0.113 284.7)
XYZxyz(2.5393, 1.4608, 8.9505)
Luminance0.0146 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211356 #485613
analogous
#132656 #211356 #421356
triadic
#211356 #562113 #135621
tetradic
#211356 #561326 #485613 #135642
square
#211356 #561326 #485613 #135642
split-complementary
#211356 #564213 #265613
monochromatic
#0A0619 #0E0824 #211356 #341E88 #4729BA

Accessibility & contrast

On white

16.25
#211356 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #211356
16.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211356#FFFFFF#000000##FFFFFF
##2113561.0016.251.2916.25
#FFFFFF16.251.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #211356;
/* rgb */ color: rgb(33, 19, 86);
/* oklch */ color: oklch(25.6% 0.113 284.7);
Tailwind
colors: {
  custom: {
    50: '#645286',
    500: '#211356',
    950: '#000000',
  },
}
SCSS
$custom: #211356;
$custom-light: #645286;
$custom-dark: #000000;
JSON
{
  "hex": "#211356",
  "rgb": {
    "r": 33,
    "g": 19,
    "b": 86
  },
  "hsl": {
    "h": 252.537,
    "s": 63.81,
    "l": 20.588
  },
  "oklch": {
    "l": 0.2564,
    "c": 0.1133,
    "h": 284.7
  },
  "luminance": 0.01461
}

Semantic roles & 50–950 ramp

primary
#211356
secondary
#7C8E36
accent
#E741C4
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #211356

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

Preview Lab → · Contrast checker → · Palette generator →

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