#211260#211260

#211260 is a dark, vivid violet. Relative luminance 0.016; OKLCH L 26.6% C 0.128 H 282.1°. Best body text is #FFFFFF at 15.91:1 contrast (WCAG AA passes).

Color values

HEX#211260
RGBrgb(33, 18, 96)
HSLhsl(252, 68%, 22%)
HSVhsv(252, 81%, 38%)
CMYKcmyk(65.6%, 81.3%, 0%, 62.4%)
CIE-LABlab(13.23, 31.21, -43.36)
CIE-LCHlch(13.23, 53.42, 305.74°)
OKLaboklab(26.58% 0.0268 -0.125)
OKLCHoklch(26.58% 0.128 282.1)
XYZxyz(2.9542, 1.6003, 11.2173)
Luminance0.0160 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211260 #516012
analogous
#122A60 #211260 #481260
triadic
#211260 #602112 #126021
tetradic
#211260 #60122A #516012 #126048
square
#211260 #60122A #516012 #126048
split-complementary
#211260 #604812 #2A6012
monochromatic
#09051A #0F082C #211260 #331C94 #4425C7

Accessibility & contrast

On white

15.91
#211260 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #211260
15.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211260#FFFFFF#000000##FFFFFF
##2112601.0015.911.3215.91
#FFFFFF15.911.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002562
Deuteranopia (green-blind)
#001F5F
Tritanopia (blue-blind)
#002938
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #211260;
/* rgb */ color: rgb(33, 18, 96);
/* oklch */ color: oklch(26.6% 0.128 282.1);
Tailwind
colors: {
  custom: {
    50: '#66528e',
    500: '#211260',
    950: '#000000',
  },
}
SCSS
$custom: #211260;
$custom-light: #66528e;
$custom-dark: #000000;
JSON
{
  "hex": "#211260",
  "rgb": {
    "r": 33,
    "g": 18,
    "b": 96
  },
  "hsl": {
    "h": 251.538,
    "s": 68.421,
    "l": 22.353
  },
  "oklch": {
    "l": 0.26585,
    "c": 0.1279,
    "h": 282.1
  },
  "luminance": 0.016
}

Semantic roles & 50–950 ramp

primary
#211260
secondary
#859836
accent
#EB3DCA
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #211260

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

Preview Lab → · Contrast checker → · Palette generator →

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