#2E0737#2E0737

#2E0737 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.8% C 0.093 H 319.3°. Best body text is #FFFFFF at 17.47:1 contrast (WCAG AA passes).

Color values

HEX#2E0737
RGBrgb(46, 7, 55)
HSLhsl(289, 77%, 12%)
HSVhsv(289, 87%, 22%)
CMYKcmyk(16.4%, 87.3%, 0%, 78.4%)
CIE-LABlab(9.06, 27.48, -21.62)
CIE-LCHlch(9.06, 34.96, 321.81°)
OKLaboklab(22.82% 0.0706 -0.0607)
OKLCHoklch(22.82% 0.093 319.3)
XYZxyz(1.8922, 1.0087, 3.7087)
Luminance0.0101 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0737 #103707
analogous
#160737 #2E0737 #370728
triadic
#2E0737 #372E07 #07372E
tetradic
#2E0737 #371607 #103707 #072837
square
#2E0737 #371607 #103707 #072837
split-complementary
#2E0737 #283707 #073716
monochromatic
#17031B #17031B #2E0737 #5B0E6D #8915A4

Accessibility & contrast

On white

17.47
#2E0737 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E0737
17.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0737#FFFFFF#000000##FFFFFF
##2E07371.0017.471.2017.47
#FFFFFF17.471.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001738
Deuteranopia (green-blind)
#0A1B36
Tritanopia (blue-blind)
#2E111E
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2e0737;
/* rgb */ color: rgb(46, 7, 55);
/* oklch */ color: oklch(22.8% 0.093 319.3);
Tailwind
colors: {
  custom: {
    50: '#694b6e',
    500: '#2e0737',
    950: '#000000',
  },
}
SCSS
$custom: #2e0737;
$custom-light: #694b6e;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0737",
  "rgb": {
    "r": 46,
    "g": 7,
    "b": 55
  },
  "hsl": {
    "h": 288.75,
    "s": 77.419,
    "l": 12.157
  },
  "oklch": {
    "l": 0.22823,
    "c": 0.09308,
    "h": 319.3
  },
  "luminance": 0.01009
}

Semantic roles & 50–950 ramp

primary
#2E0737
secondary
#337723
accent
#F43458
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #2E0737

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

Preview Lab → · Contrast checker → · Palette generator →

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