#2E0437#2E0437

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

Color values

HEX#2E0437
RGBrgb(46, 4, 55)
HSLhsl(289, 86%, 12%)
HSVhsv(289, 93%, 22%)
CMYKcmyk(16.4%, 92.7%, 0%, 78.4%)
CIE-LABlab(8.51, 29.07, -22.51)
CIE-LCHlch(8.51, 36.77, 322.26°)
OKLaboklab(22.43% 0.0748 -0.0632)
OKLCHoklch(22.43% 0.098 319.8)
XYZxyz(1.8596, 0.9436, 3.6979)
Luminance0.0094 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0437 #0D3704
analogous
#150437 #2E0437 #370427
triadic
#2E0437 #372E04 #04372E
tetradic
#2E0437 #371504 #0D3704 #042737
square
#2E0437 #371504 #0D3704 #042737
split-complementary
#2E0437 #273704 #043715
monochromatic
#18021D #18021D #2E0437 #5E0870 #8D0CA9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E0437#FFFFFF#000000##FFFFFF
##2E04371.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)
#001638
Deuteranopia (green-blind)
#081A36
Tritanopia (blue-blind)
#2E0F1D
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2e0437;
/* rgb */ color: rgb(46, 4, 55);
/* oklch */ color: oklch(22.4% 0.098 319.8);
Tailwind
colors: {
  custom: {
    50: '#694a6e',
    500: '#2e0437',
    950: '#000000',
  },
}
SCSS
$custom: #2e0437;
$custom-light: #694a6e;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0437",
  "rgb": {
    "r": 46,
    "g": 4,
    "b": 55
  },
  "hsl": {
    "h": 289.412,
    "s": 86.441,
    "l": 11.569
  },
  "oklch": {
    "l": 0.22434,
    "c": 0.09793,
    "h": 319.8
  },
  "luminance": 0.00944
}

Semantic roles & 50–950 ramp

primary
#2E0437
secondary
#2E791E
accent
#FD2B50
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #2E0437

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

Preview Lab → · Contrast checker → · Palette generator →

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