#211361#211361

#211361 is a dark, vivid violet. Relative luminance 0.017; OKLCH L 26.8% C 0.128 H 281.6°. Best body text is #FFFFFF at 15.78:1 contrast (WCAG AA passes).

Color values

HEX#211361
RGBrgb(33, 19, 97)
HSLhsl(251, 67%, 23%)
HSVhsv(251, 80%, 38%)
CMYKcmyk(66%, 80.4%, 0%, 62%)
CIE-LABlab(13.54, 30.97, -43.51)
CIE-LCHlch(13.54, 53.41, 305.45°)
OKLaboklab(26.84% 0.0258 -0.1255)
OKLCHoklch(26.84% 0.128 281.6)
XYZxyz(3.0171, 1.6519, 11.4668)
Luminance0.0165 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211361 #536113
analogous
#132C61 #211361 #481361
triadic
#211361 #612113 #136121
tetradic
#211361 #61132C #536113 #136148
square
#211361 #61132C #536113 #136148
split-complementary
#211361 #614813 #2C6113
monochromatic
#09051A #10092E #211361 #321D94 #4427C7

Accessibility & contrast

On white

15.78
#211361 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#211361 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211361
15.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211361#FFFFFF#000000##FFFFFF
##2113611.0015.781.3315.78
#FFFFFF15.781.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002563
Deuteranopia (green-blind)
#002060
Tritanopia (blue-blind)
#002939
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #211361;
/* rgb */ color: rgb(33, 19, 97);
/* oklch */ color: oklch(26.8% 0.128 281.6);
Tailwind
colors: {
  custom: {
    50: '#66538f',
    500: '#211361',
    950: '#000000',
  },
}
SCSS
$custom: #211361;
$custom-light: #66538f;
$custom-dark: #000000;
JSON
{
  "hex": "#211361",
  "rgb": {
    "r": 33,
    "g": 19,
    "b": 97
  },
  "hsl": {
    "h": 250.769,
    "s": 67.241,
    "l": 22.745
  },
  "oklch": {
    "l": 0.26837,
    "c": 0.12814,
    "h": 281.6
  },
  "luminance": 0.01652
}

Semantic roles & 50–950 ramp

primary
#211361
secondary
#879937
accent
#EA3ECB
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #211361

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

Preview Lab → · Contrast checker → · Palette generator →

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