#2E0534#2E0534

#2E0534 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.3% C 0.093 H 322.3°. Best body text is #FFFFFF at 17.69:1 contrast (WCAG AA passes).

Color values

HEX#2E0534
RGBrgb(46, 5, 52)
HSLhsl(292, 82%, 11%)
HSVhsv(292, 90%, 20%)
CMYKcmyk(11.5%, 90.4%, 0%, 79.6%)
CIE-LABlab(8.46, 27.87, -20.40)
CIE-LCHlch(8.46, 34.54, 323.79°)
OKLaboklab(22.32% 0.0738 -0.0571)
OKLCHoklch(22.32% 0.093 322.3)
XYZxyz(1.8008, 0.9374, 3.3342)
Luminance0.0094 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0534 #0B3405
analogous
#160534 #2E0534 #340522
triadic
#2E0534 #342E05 #05342E
tetradic
#2E0534 #341605 #0B3405 #052234
square
#2E0534 #341605 #0B3405 #052234
split-complementary
#2E0534 #223405 #053416
monochromatic
#19031C #19031C #2E0534 #5F0A6C #9110A4

Accessibility & contrast

On white

17.69
#2E0534 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E0534
17.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0534#FFFFFF#000000##FFFFFF
##2E05341.0017.691.1917.69
#FFFFFF17.691.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001535
Deuteranopia (green-blind)
#0C1A33
Tritanopia (blue-blind)
#2F0E1C
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2e0534;
/* rgb */ color: rgb(46, 5, 52);
/* oklch */ color: oklch(22.3% 0.093 322.3);
Tailwind
colors: {
  custom: {
    50: '#694a6c',
    500: '#2e0534',
    950: '#000000',
  },
}
SCSS
$custom: #2e0534;
$custom-light: #694a6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0534",
  "rgb": {
    "r": 46,
    "g": 5,
    "b": 52
  },
  "hsl": {
    "h": 292.34,
    "s": 82.456,
    "l": 11.176
  },
  "oklch": {
    "l": 0.22319,
    "c": 0.09329,
    "h": 322.3
  },
  "luminance": 0.00937
}

Semantic roles & 50–950 ramp

primary
#2E0534
secondary
#2A751F
accent
#F92F49
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #2E0534

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

Preview Lab → · Contrast checker → · Palette generator →

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