#2E062A#2E062A

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

Color values

HEX#2E062A
RGBrgb(46, 6, 42)
HSLhsl(306, 77%, 10%)
HSVhsv(306, 87%, 18%)
CMYKcmyk(0%, 87%, 8.7%, 82%)
CIE-LABlab(7.93, 25.24, -13.82)
CIE-LCHlch(7.93, 28.77, 331.30°)
OKLaboklab(21.71% 0.0725 -0.038)
OKLCHoklch(21.71% 0.082 332.4)
XYZxyz(1.6098, 0.8784, 2.2748)
Luminance0.0088 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E062A #062E0A
analogous
#1E062E #2E062A #2E0616
triadic
#2E062A #2A2E06 #062A2E
tetradic
#2E062A #2E1E06 #062E0A #06162E
square
#2E062A #2E1E06 #062E0A #06162E
split-complementary
#2E062A #162E06 #062E1E
monochromatic
#1B0419 #1B0419 #2E062A #640D5B #9A148D

Accessibility & contrast

On white

17.86
#2E062A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E062A
17.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E062A#FFFFFF#000000##FFFFFF
##2E062A1.0017.861.1817.86
#FFFFFF17.861.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04142B
Deuteranopia (green-blind)
#131929
Tritanopia (blue-blind)
#300A17
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2e062a;
/* rgb */ color: rgb(46, 6, 42);
/* oklch */ color: oklch(21.7% 0.082 332.4);
Tailwind
colors: {
  custom: {
    50: '#694a63',
    500: '#2e062a',
    950: '#000000',
  },
}
SCSS
$custom: #2e062a;
$custom-light: #694a63;
$custom-dark: #000000;
JSON
{
  "hex": "#2e062a",
  "rgb": {
    "r": 46,
    "g": 6,
    "b": 42
  },
  "hsl": {
    "h": 306,
    "s": 76.923,
    "l": 10.196
  },
  "oklch": {
    "l": 0.21714,
    "c": 0.08188,
    "h": 332.4
  },
  "luminance": 0.00878
}

Semantic roles & 50–950 ramp

primary
#2E062A
secondary
#216F29
accent
#F34734
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060105
muted
#7A7779

Preview Lab

Preview with #2E062A

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

Preview Lab → · Contrast checker → · Palette generator →

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