#2E0531#2E0531

#2E0531 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.1% C 0.090 H 325.1°. Best body text is #FFFFFF at 17.76:1 contrast (WCAG AA passes).

Color values

HEX#2E0531
RGBrgb(46, 5, 49)
HSLhsl(296, 81%, 11%)
HSVhsv(296, 90%, 19%)
CMYKcmyk(6.1%, 89.8%, 0%, 80.8%)
CIE-LABlab(8.23, 27.22, -18.56)
CIE-LCHlch(8.23, 32.95, 325.71°)
OKLaboklab(22.08% 0.0741 -0.0517)
OKLCHoklch(22.08% 0.09 325.1)
XYZxyz(1.7353, 0.9112, 2.9896)
Luminance0.0091 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0531 #083105
analogous
#180531 #2E0531 #31051E
triadic
#2E0531 #312E05 #05312E
tetradic
#2E0531 #311805 #083105 #051E31
square
#2E0531 #311805 #083105 #051E31
split-complementary
#2E0531 #1E3105 #053118
monochromatic
#1A031C #1A031C #2E0531 #620B69 #9610A0

Accessibility & contrast

On white

17.76
#2E0531 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#2E0531 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E0531
17.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0531#FFFFFF#000000##FFFFFF
##2E05311.0017.761.1817.76
#FFFFFF17.761.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001532
Deuteranopia (green-blind)
#0E1A30
Tritanopia (blue-blind)
#2F0C1A
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2e0531;
/* rgb */ color: rgb(46, 5, 49);
/* oklch */ color: oklch(22.1% 0.090 325.1);
Tailwind
colors: {
  custom: {
    50: '#694a69',
    500: '#2e0531',
    950: '#000000',
  },
}
SCSS
$custom: #2e0531;
$custom-light: #694a69;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0531",
  "rgb": {
    "r": 46,
    "g": 5,
    "b": 49
  },
  "hsl": {
    "h": 295.909,
    "s": 81.481,
    "l": 10.588
  },
  "oklch": {
    "l": 0.22083,
    "c": 0.09035,
    "h": 325.1
  },
  "luminance": 0.00911
}

Semantic roles & 50–950 ramp

primary
#2E0531
secondary
#25721F
accent
#F8303E
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2E0531

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

Preview Lab → · Contrast checker → · Palette generator →

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