#2E0229#2E0229

#2E0229 is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.1% C 0.089 H 333.4°. Best body text is #FFFFFF at 18.15:1 contrast (WCAG AA passes).

Color values

HEX#2E0229
RGBrgb(46, 2, 41)
HSLhsl(307, 92%, 9%)
HSVhsv(307, 96%, 18%)
CMYKcmyk(0%, 95.7%, 10.9%, 82%)
CIE-LABlab(7.09, 27.25, -14.40)
CIE-LCHlch(7.09, 30.82, 332.15°)
OKLaboklab(21.06% 0.0794 -0.0398)
OKLCHoklch(21.06% 0.089 333.4)
XYZxyz(1.5487, 0.7845, 2.1673)
Luminance0.0078 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0229 #022E07
analogous
#1D022E #2E0229 #2E0213
triadic
#2E0229 #292E02 #02292E
tetradic
#2E0229 #2E1D02 #022E07 #02132E
square
#2E0229 #2E1D02 #022E07 #02132E
split-complementary
#2E0229 #132E02 #022E1D
monochromatic
#1D011A #1D011A #2E0229 #69055D #A30792

Accessibility & contrast

On white

18.15
#2E0229 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#2E0229 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E0229
18.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0229#FFFFFF#000000##FFFFFF
##2E02291.0018.151.1618.15
#FFFFFF18.151.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01112A
Deuteranopia (green-blind)
#111828
Tritanopia (blue-blind)
#310615
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2e0229;
/* rgb */ color: rgb(46, 2, 41);
/* oklch */ color: oklch(21.1% 0.089 333.4);
Tailwind
colors: {
  custom: {
    50: '#694863',
    500: '#2e0229',
    950: '#000000',
  },
}
SCSS
$custom: #2e0229;
$custom-light: #694863;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0229",
  "rgb": {
    "r": 46,
    "g": 2,
    "b": 41
  },
  "hsl": {
    "h": 306.818,
    "s": 91.667,
    "l": 9.412
  },
  "oklch": {
    "l": 0.2106,
    "c": 0.08881,
    "h": 333.4
  },
  "luminance": 0.00784
}

Semantic roles & 50–950 ramp

primary
#2E0229
secondary
#197323
accent
#FF4129
background
#F6F4F5
surface
#EBE6EA
border
#C6C2C6
text
#060005
muted
#7A7779

Preview Lab

Preview with #2E0229

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

Preview Lab → · Contrast checker → · Palette generator →

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