#211261#211261

#211261 is a dark, vivid violet. Relative luminance 0.016; OKLCH L 26.7% C 0.129 H 281.9°. Best body text is #FFFFFF at 15.86:1 contrast (WCAG AA passes).

Color values

HEX#211261
RGBrgb(33, 18, 97)
HSLhsl(251, 69%, 23%)
HSVhsv(251, 81%, 38%)
CMYKcmyk(66%, 81.4%, 0%, 62%)
CIE-LABlab(13.34, 31.54, -43.84)
CIE-LCHlch(13.34, 54.01, 305.73°)
OKLaboklab(26.7% 0.0265 -0.1264)
OKLCHoklch(26.7% 0.129 281.9)
XYZxyz(3.0005, 1.6188, 11.4613)
Luminance0.0162 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211261 #526112
analogous
#122B61 #211261 #481261
triadic
#211261 #612112 #126121
tetradic
#211261 #61122B #526112 #126148
square
#211261 #61122B #526112 #126148
split-complementary
#211261 #614812 #2B6112
monochromatic
#09051A #0F082D #211261 #331C95 #4425C8

Accessibility & contrast

On white

15.86
#211261 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#211261 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211261
15.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211261#FFFFFF#000000##FFFFFF
##2112611.0015.861.3215.86
#FFFFFF15.861.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002563
Deuteranopia (green-blind)
#001F60
Tritanopia (blue-blind)
#002939
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #211261;
/* rgb */ color: rgb(33, 18, 97);
/* oklch */ color: oklch(26.7% 0.129 281.9);
Tailwind
colors: {
  custom: {
    50: '#66528f',
    500: '#211261',
    950: '#000000',
  },
}
SCSS
$custom: #211261;
$custom-light: #66528f;
$custom-dark: #000000;
JSON
{
  "hex": "#211261",
  "rgb": {
    "r": 33,
    "g": 18,
    "b": 97
  },
  "hsl": {
    "h": 251.392,
    "s": 68.696,
    "l": 22.549
  },
  "oklch": {
    "l": 0.26697,
    "c": 0.12921,
    "h": 281.9
  },
  "luminance": 0.01619
}

Semantic roles & 50–950 ramp

primary
#211261
secondary
#869936
accent
#EC3CCA
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #211261

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

Preview Lab → · Contrast checker → · Palette generator →

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