#2E0537#2E0537

#2E0537 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.6% C 0.096 H 319.6°. Best body text is #FFFFFF at 17.60:1 contrast (WCAG AA passes).

Color values

HEX#2E0537
RGBrgb(46, 5, 55)
HSLhsl(289, 83%, 12%)
HSVhsv(289, 91%, 22%)
CMYKcmyk(16.4%, 90.9%, 0%, 78.4%)
CIE-LABlab(8.70, 28.53, -22.20)
CIE-LCHlch(8.70, 36.15, 322.11°)
OKLaboklab(22.57% 0.0733 -0.0624)
OKLCHoklch(22.57% 0.096 319.6)
XYZxyz(1.8705, 0.9653, 3.7015)
Luminance0.0097 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0537 #0E3705
analogous
#150537 #2E0537 #370527
triadic
#2E0537 #372E05 #05372E
tetradic
#2E0537 #371505 #0E3705 #052737
square
#2E0537 #371505 #0E3705 #052737
split-complementary
#2E0537 #273705 #053715
monochromatic
#17031C #17031C #2E0537 #5D0A6F #8C0FA7

Accessibility & contrast

On white

17.60
#2E0537 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E0537
17.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0537#FFFFFF#000000##FFFFFF
##2E05371.0017.601.1917.60
#FFFFFF17.601.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001638
Deuteranopia (green-blind)
#091A36
Tritanopia (blue-blind)
#2E0F1E
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2e0537;
/* rgb */ color: rgb(46, 5, 55);
/* oklch */ color: oklch(22.6% 0.096 319.6);
Tailwind
colors: {
  custom: {
    50: '#694a6e',
    500: '#2e0537',
    950: '#000000',
  },
}
SCSS
$custom: #2e0537;
$custom-light: #694a6e;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0537",
  "rgb": {
    "r": 46,
    "g": 5,
    "b": 55
  },
  "hsl": {
    "h": 289.2,
    "s": 83.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.22565,
    "c": 0.09627,
    "h": 319.6
  },
  "luminance": 0.00965
}

Semantic roles & 50–950 ramp

primary
#2E0537
secondary
#307820
accent
#FA2E53
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #2E0537

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

Preview Lab → · Contrast checker → · Palette generator →

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