#2E0628#2E0628

#2E0628 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.6% C 0.080 H 334.7°. Best body text is #FFFFFF at 17.91:1 contrast (WCAG AA passes).

Color values

HEX#2E0628
RGBrgb(46, 6, 40)
HSLhsl(309, 77%, 10%)
HSVhsv(309, 87%, 18%)
CMYKcmyk(0%, 87%, 13%, 82%)
CIE-LABlab(7.81, 24.85, -12.51)
CIE-LCHlch(7.81, 27.82, 333.28°)
OKLaboklab(21.58% 0.0724 -0.0342)
OKLCHoklch(21.58% 0.08 334.7)
XYZxyz(1.5749, 0.8644, 2.0910)
Luminance0.0086 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0628 #062E0C
analogous
#20062E #2E0628 #2E0614
triadic
#2E0628 #282E06 #06282E
tetradic
#2E0628 #2E2006 #062E0C #06142E
square
#2E0628 #2E2006 #062E0C #06142E
split-complementary
#2E0628 #142E06 #062E20
monochromatic
#1B0418 #1B0418 #2E0628 #640D57 #9A1486

Accessibility & contrast

On white

17.91
#2E0628 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#2E0628 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E0628
17.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0628#FFFFFF#000000##FFFFFF
##2E06281.0017.911.1717.91
#FFFFFF17.911.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061329
Deuteranopia (green-blind)
#141927
Tritanopia (blue-blind)
#310916
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2e0628;
/* rgb */ color: rgb(46, 6, 40);
/* oklch */ color: oklch(21.6% 0.080 334.7);
Tailwind
colors: {
  custom: {
    50: '#694a62',
    500: '#2e0628',
    950: '#000000',
  },
}
SCSS
$custom: #2e0628;
$custom-light: #694a62;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0628",
  "rgb": {
    "r": 46,
    "g": 6,
    "b": 40
  },
  "hsl": {
    "h": 309,
    "s": 76.923,
    "l": 10.196
  },
  "oklch": {
    "l": 0.21581,
    "c": 0.08005,
    "h": 334.7
  },
  "luminance": 0.00864
}

Semantic roles & 50–950 ramp

primary
#2E0628
secondary
#216F2D
accent
#F35134
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060105
muted
#7A7779

Preview Lab

Preview with #2E0628

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

Preview Lab → · Contrast checker → · Palette generator →

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