#2E0535#2E0535

#2E0535 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.4% C 0.094 H 321.4°. Best body text is #FFFFFF at 17.66:1 contrast (WCAG AA passes).

Color values

HEX#2E0535
RGBrgb(46, 5, 53)
HSLhsl(291, 83%, 11%)
HSVhsv(291, 91%, 21%)
CMYKcmyk(13.2%, 90.6%, 0%, 79.2%)
CIE-LABlab(8.54, 28.09, -21.01)
CIE-LCHlch(8.54, 35.07, 323.21°)
OKLaboklab(22.4% 0.0736 -0.0589)
OKLCHoklch(22.4% 0.094 321.4)
XYZxyz(1.8235, 0.9465, 3.4541)
Luminance0.0095 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0535 #0C3505
analogous
#160535 #2E0535 #350524
triadic
#2E0535 #352E05 #05352E
tetradic
#2E0535 #351605 #0C3505 #052435
square
#2E0535 #351605 #0C3505 #052435
split-complementary
#2E0535 #243505 #053516
monochromatic
#18031C #18031C #2E0535 #5F0A6D #8F10A5

Accessibility & contrast

On white

17.66
#2E0535 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E0535
17.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0535#FFFFFF#000000##FFFFFF
##2E05351.0017.661.1917.66
#FFFFFF17.661.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001636
Deuteranopia (green-blind)
#0B1A34
Tritanopia (blue-blind)
#2E0E1D
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2e0535;
/* rgb */ color: rgb(46, 5, 53);
/* oklch */ color: oklch(22.4% 0.094 321.4);
Tailwind
colors: {
  custom: {
    50: '#694a6c',
    500: '#2e0535',
    950: '#000000',
  },
}
SCSS
$custom: #2e0535;
$custom-light: #694a6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0535",
  "rgb": {
    "r": 46,
    "g": 5,
    "b": 53
  },
  "hsl": {
    "h": 291.25,
    "s": 82.759,
    "l": 11.373
  },
  "oklch": {
    "l": 0.224,
    "c": 0.09428,
    "h": 321.4
  },
  "luminance": 0.00946
}

Semantic roles & 50–950 ramp

primary
#2E0535
secondary
#2C7620
accent
#F92F4C
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #2E0535

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

Preview Lab → · Contrast checker → · Palette generator →

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