#2B11A1#2B11A1

#2B11A1 is a dark, highly saturated violet. Relative luminance 0.035; OKLCH L 35.1% C 0.204 H 275.9°. Best body text is #FFFFFF at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#2B11A1
RGBrgb(43, 17, 161)
HSLhsl(251, 81%, 35%)
HSVhsv(251, 89%, 63%)
CMYKcmyk(73.3%, 89.4%, 0%, 36.9%)
CIE-LABlab(21.90, 52.32, -70.32)
CIE-LCHlch(21.90, 87.65, 306.65°)
OKLaboklab(35.07% 0.021 -0.2031)
OKLCHoklch(35.07% 0.204 275.9)
XYZxyz(7.6276, 3.4870, 33.9824)
Luminance0.0349 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B11A1 #87A111
analogous
#113FA1 #2B11A1 #7311A1
triadic
#2B11A1 #A12B11 #11A12B
tetradic
#2B11A1 #A1113F #87A111 #11A173
square
#2B11A1 #A1113F #87A111 #11A173
split-complementary
#2B11A1 #A17311 #3FA111
monochromatic
#0D0532 #1C0B6A #2B11A1 #3A17D8 #6041EB

Accessibility & contrast

On white

12.37
#2B11A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#2B11A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B11A1
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B11A1#FFFFFF#000000##FFFFFF
##2B11A11.0012.371.7012.37
#FFFFFF12.371.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003AA5
Deuteranopia (green-blind)
#002E9F
Tritanopia (blue-blind)
#00435E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2b11a1;
/* rgb */ color: rgb(43, 17, 161);
/* oklch */ color: oklch(35.1% 0.204 275.9);
Tailwind
colors: {
  custom: {
    50: '#7958be',
    500: '#2b11a1',
    950: '#000000',
  },
}
SCSS
$custom: #2b11a1;
$custom-light: #7958be;
$custom-dark: #000000;
JSON
{
  "hex": "#2b11a1",
  "rgb": {
    "r": 43,
    "g": 17,
    "b": 161
  },
  "hsl": {
    "h": 250.833,
    "s": 80.899,
    "l": 34.902
  },
  "oklch": {
    "l": 0.35067,
    "c": 0.20421,
    "h": 275.9
  },
  "luminance": 0.03488
}

Semantic roles & 50–950 ramp

primary
#2B11A1
secondary
#B2CB43
accent
#F731D3
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #2B11A1

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

Preview Lab → · Contrast checker → · Palette generator →

#2B11A1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva