#2E0539#2E0539

#2E0539 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.7% C 0.098 H 317.9°. Best body text is #FFFFFF at 17.54:1 contrast (WCAG AA passes).

Color values

HEX#2E0539
RGBrgb(46, 5, 57)
HSLhsl(287, 84%, 12%)
HSVhsv(287, 91%, 22%)
CMYKcmyk(19.3%, 91.2%, 0%, 77.6%)
CIE-LABlab(8.87, 28.98, -23.39)
CIE-LCHlch(8.87, 37.24, 321.10°)
OKLaboklab(22.73% 0.073 -0.0659)
OKLCHoklch(22.73% 0.098 317.9)
XYZxyz(1.9194, 0.9849, 3.9591)
Luminance0.0098 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0539 #103905
analogous
#140539 #2E0539 #39052A
triadic
#2E0539 #392E05 #05392E
tetradic
#2E0539 #391405 #103905 #052A39
square
#2E0539 #391405 #103905 #052A39
split-complementary
#2E0539 #2A3905 #053914
monochromatic
#17021C #17021C #2E0539 #5B0A71 #890FAA

Accessibility & contrast

On white

17.54
#2E0539 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#2E0539 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E0539
17.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0539#FFFFFF#000000##FFFFFF
##2E05391.0017.541.2017.54
#FFFFFF17.541.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00173A
Deuteranopia (green-blind)
#071A38
Tritanopia (blue-blind)
#2E101F
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2e0539;
/* rgb */ color: rgb(46, 5, 57);
/* oklch */ color: oklch(22.7% 0.098 317.9);
Tailwind
colors: {
  custom: {
    50: '#694a70',
    500: '#2e0539',
    950: '#000000',
  },
}
SCSS
$custom: #2e0539;
$custom-light: #694a70;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0539",
  "rgb": {
    "r": 46,
    "g": 5,
    "b": 57
  },
  "hsl": {
    "h": 287.308,
    "s": 83.871,
    "l": 12.157
  },
  "oklch": {
    "l": 0.22734,
    "c": 0.09829,
    "h": 317.9
  },
  "luminance": 0.00985
}

Semantic roles & 50–950 ramp

primary
#2E0539
secondary
#337A20
accent
#FA2E59
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #2E0539

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

Preview Lab → · Contrast checker → · Palette generator →

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