#2E0728#2E0728

#2E0728 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.7% C 0.078 H 334.8°. Best body text is #FFFFFF at 17.84:1 contrast (WCAG AA passes).

Color values

HEX#2E0728
RGBrgb(46, 7, 40)
HSLhsl(309, 74%, 10%)
HSVhsv(309, 85%, 18%)
CMYKcmyk(0%, 84.8%, 13%, 82%)
CIE-LABlab(8.00, 24.29, -12.20)
CIE-LCHlch(8.00, 27.19, 333.33°)
OKLaboklab(21.72% 0.0707 -0.0333)
OKLCHoklch(21.72% 0.078 334.8)
XYZxyz(1.5857, 0.8861, 2.0946)
Luminance0.0089 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0728 #072E0D
analogous
#20072E #2E0728 #2E0714
triadic
#2E0728 #282E07 #07282E
tetradic
#2E0728 #2E2007 #072E0D #07142E
square
#2E0728 #2E2007 #072E0D #07142E
split-complementary
#2E0728 #142E07 #072E20
monochromatic
#1B0417 #1B0417 #2E0728 #630F56 #981784

Accessibility & contrast

On white

17.84
#2E0728 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#2E0728 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E0728
17.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0728#FFFFFF#000000##FFFFFF
##2E07281.0017.841.1817.84
#FFFFFF17.841.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071429
Deuteranopia (green-blind)
#141A27
Tritanopia (blue-blind)
#310A16
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2e0728;
/* rgb */ color: rgb(46, 7, 40);
/* oklch */ color: oklch(21.7% 0.078 334.8);
Tailwind
colors: {
  custom: {
    50: '#694a62',
    500: '#2e0728',
    950: '#000000',
  },
}
SCSS
$custom: #2e0728;
$custom-light: #694a62;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0728",
  "rgb": {
    "r": 46,
    "g": 7,
    "b": 40
  },
  "hsl": {
    "h": 309.231,
    "s": 73.585,
    "l": 10.392
  },
  "oklch": {
    "l": 0.21724,
    "c": 0.07818,
    "h": 334.8
  },
  "luminance": 0.00886
}

Semantic roles & 50–950 ramp

primary
#2E0728
secondary
#236E2F
accent
#F05438
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060105
muted
#7A7779

Preview Lab

Preview with #2E0728

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

Preview Lab → · Contrast checker → · Palette generator →

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