#2E0536#2E0536

#2E0536 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.5% C 0.095 H 320.5°. Best body text is #FFFFFF at 17.63:1 contrast (WCAG AA passes).

Color values

HEX#2E0536
RGBrgb(46, 5, 54)
HSLhsl(290, 83%, 12%)
HSVhsv(290, 91%, 21%)
CMYKcmyk(14.8%, 90.7%, 0%, 78.8%)
CIE-LABlab(8.62, 28.31, -21.61)
CIE-LCHlch(8.62, 35.61, 322.65°)
OKLaboklab(22.48% 0.0735 -0.0606)
OKLCHoklch(22.48% 0.095 320.5)
XYZxyz(1.8468, 0.9558, 3.5765)
Luminance0.0096 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0536 #0D3605
analogous
#160536 #2E0536 #360526
triadic
#2E0536 #362E05 #05362E
tetradic
#2E0536 #361605 #0D3605 #052636
square
#2E0536 #361605 #0D3605 #052636
split-complementary
#2E0536 #263605 #053616
monochromatic
#18031C #18031C #2E0536 #5E0A6E #8D0FA6

Accessibility & contrast

On white

17.63
#2E0536 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E0536
17.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0536#FFFFFF#000000##FFFFFF
##2E05361.0017.631.1917.63
#FFFFFF17.631.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001637
Deuteranopia (green-blind)
#0A1A35
Tritanopia (blue-blind)
#2E0F1D
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2e0536;
/* rgb */ color: rgb(46, 5, 54);
/* oklch */ color: oklch(22.5% 0.095 320.5);
Tailwind
colors: {
  custom: {
    50: '#694a6d',
    500: '#2e0536',
    950: '#000000',
  },
}
SCSS
$custom: #2e0536;
$custom-light: #694a6d;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0536",
  "rgb": {
    "r": 46,
    "g": 5,
    "b": 54
  },
  "hsl": {
    "h": 290.204,
    "s": 83.051,
    "l": 11.569
  },
  "oklch": {
    "l": 0.22482,
    "c": 0.09528,
    "h": 320.5
  },
  "luminance": 0.00956
}

Semantic roles & 50–950 ramp

primary
#2E0536
secondary
#2E7720
accent
#F92E50
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #2E0536

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

Preview Lab → · Contrast checker → · Palette generator →

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