#2E0532#2E0532

#2E0532 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.2% C 0.091 H 324.1°. Best body text is #FFFFFF at 17.74:1 contrast (WCAG AA passes).

Color values

HEX#2E0532
RGBrgb(46, 5, 50)
HSLhsl(295, 82%, 11%)
HSVhsv(295, 90%, 20%)
CMYKcmyk(8%, 90%, 0%, 80.4%)
CIE-LABlab(8.30, 27.44, -19.18)
CIE-LCHlch(8.30, 33.48, 325.04°)
OKLaboklab(22.16% 0.074 -0.0535)
OKLCHoklch(22.16% 0.091 324.1)
XYZxyz(1.7567, 0.9198, 3.1020)
Luminance0.0092 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0532 #093205
analogous
#170532 #2E0532 #32051F
triadic
#2E0532 #322E05 #05322E
tetradic
#2E0532 #321705 #093205 #051F32
square
#2E0532 #321705 #093205 #051F32
split-complementary
#2E0532 #1F3205 #053217
monochromatic
#1A031C #1A031C #2E0532 #610B6A #9410A1

Accessibility & contrast

On white

17.74
#2E0532 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E0532
17.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0532#FFFFFF#000000##FFFFFF
##2E05321.0017.741.1817.74
#FFFFFF17.741.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001533
Deuteranopia (green-blind)
#0D1A31
Tritanopia (blue-blind)
#2F0D1B
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2e0532;
/* rgb */ color: rgb(46, 5, 50);
/* oklch */ color: oklch(22.2% 0.091 324.1);
Tailwind
colors: {
  custom: {
    50: '#694a6a',
    500: '#2e0532',
    950: '#000000',
  },
}
SCSS
$custom: #2e0532;
$custom-light: #694a6a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0532",
  "rgb": {
    "r": 46,
    "g": 5,
    "b": 50
  },
  "hsl": {
    "h": 294.667,
    "s": 81.818,
    "l": 10.784
  },
  "oklch": {
    "l": 0.2216,
    "c": 0.09133,
    "h": 324.1
  },
  "luminance": 0.0092
}

Semantic roles & 50–950 ramp

primary
#2E0532
secondary
#27731F
accent
#F83041
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2E0532

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

Preview Lab → · Contrast checker → · Palette generator →

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