#2E0533#2E0533

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

Color values

HEX#2E0533
RGBrgb(46, 5, 51)
HSLhsl(293, 82%, 11%)
HSVhsv(293, 90%, 20%)
CMYKcmyk(9.8%, 90.2%, 0%, 80%)
CIE-LABlab(8.38, 27.65, -19.79)
CIE-LCHlch(8.38, 34.00, 324.41°)
OKLaboklab(22.24% 0.0739 -0.0553)
OKLCHoklch(22.24% 0.092 323.2)
XYZxyz(1.7785, 0.9285, 3.2169)
Luminance0.0093 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0533 #0A3305
analogous
#170533 #2E0533 #330521
triadic
#2E0533 #332E05 #05332E
tetradic
#2E0533 #331705 #0A3305 #052133
square
#2E0533 #331705 #0A3305 #052133
split-complementary
#2E0533 #213305 #053317
monochromatic
#19031C #19031C #2E0533 #600A6B #9310A2

Accessibility & contrast

On white

17.71
#2E0533 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#2E0533 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E0533
17.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0533#FFFFFF#000000##FFFFFF
##2E05331.0017.711.1917.71
#FFFFFF17.711.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e0533;
/* rgb */ color: rgb(46, 5, 51);
/* oklch */ color: oklch(22.2% 0.092 323.2);
Tailwind
colors: {
  custom: {
    50: '#694a6b',
    500: '#2e0533',
    950: '#000000',
  },
}
SCSS
$custom: #2e0533;
$custom-light: #694a6b;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0533",
  "rgb": {
    "r": 46,
    "g": 5,
    "b": 51
  },
  "hsl": {
    "h": 293.478,
    "s": 82.143,
    "l": 10.98
  },
  "oklch": {
    "l": 0.22239,
    "c": 0.09231,
    "h": 323.2
  },
  "luminance": 0.00928
}

Semantic roles & 50–950 ramp

primary
#2E0533
secondary
#29741F
accent
#F82F45
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2E0533

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

Preview Lab → · Contrast checker → · Palette generator →

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