#2B0E31#2B0E31

#2B0E31 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.8% C 0.073 H 320.5°. Best body text is #FFFFFF at 17.36:1 contrast (WCAG AA passes).

Color values

HEX#2B0E31
RGBrgb(43, 14, 49)
HSLhsl(290, 56%, 12%)
HSVhsv(290, 71%, 19%)
CMYKcmyk(12.2%, 71.4%, 0%, 80.8%)
CIE-LABlab(9.40, 21.48, -16.74)
CIE-LCHlch(9.40, 27.23, 322.08°)
OKLaboklab(22.81% 0.0564 -0.0466)
OKLCHoklch(22.81% 0.073 320.5)
XYZxyz(1.7076, 1.0495, 3.0178)
Luminance0.0105 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0E31 #14310E
analogous
#190E31 #2B0E31 #310E26
triadic
#2B0E31 #312B0E #0E312B
tetradic
#2B0E31 #31190E #14310E #0E2631
square
#2B0E31 #31190E #14310E #0E2631
split-complementary
#2B0E31 #26310E #0E3119
monochromatic
#150718 #150718 #2B0E31 #551C61 #7F2990

Accessibility & contrast

On white

17.36
#2B0E31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#2B0E31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B0E31
17.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0E31#FFFFFF#000000##FFFFFF
##2B0E311.0017.361.2117.36
#FFFFFF17.361.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071832
Deuteranopia (green-blind)
#111B30
Tritanopia (blue-blind)
#2B131D
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2b0e31;
/* rgb */ color: rgb(43, 14, 49);
/* oklch */ color: oklch(22.8% 0.073 320.5);
Tailwind
colors: {
  custom: {
    50: '#664e69',
    500: '#2b0e31',
    950: '#000000',
  },
}
SCSS
$custom: #2b0e31;
$custom-light: #664e69;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0e31",
  "rgb": {
    "r": 43,
    "g": 14,
    "b": 49
  },
  "hsl": {
    "h": 289.714,
    "s": 55.556,
    "l": 12.353
  },
  "oklch": {
    "l": 0.22809,
    "c": 0.07319,
    "h": 320.5
  },
  "luminance": 0.01049
}

Semantic roles & 50–950 ramp

primary
#2B0E31
secondary
#3A6C2F
accent
#DF4963
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #2B0E31

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

Preview Lab → · Contrast checker → · Palette generator →

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