#2E062B#2E062B

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

Color values

HEX#2E062B
RGBrgb(46, 6, 43)
HSLhsl(305, 77%, 10%)
HSVhsv(305, 87%, 18%)
CMYKcmyk(0%, 87%, 6.5%, 82%)
CIE-LABlab(8.00, 25.44, -14.46)
CIE-LCHlch(8.00, 29.26, 330.38°)
OKLaboklab(21.78% 0.0726 -0.0398)
OKLCHoklch(21.78% 0.083 331.2)
XYZxyz(1.6279, 0.8856, 2.3702)
Luminance0.0089 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E062B #062E09
analogous
#1D062E #2E062B #2E0617
triadic
#2E062B #2B2E06 #062B2E
tetradic
#2E062B #2E1D06 #062E09 #06172E
square
#2E062B #2E1D06 #062E09 #06172E
split-complementary
#2E062B #172E06 #062E1D
monochromatic
#1B0419 #1B0419 #2E062B #640D5E #9A1490

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E062B#FFFFFF#000000##FFFFFF
##2E062B1.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)
#04142C
Deuteranopia (green-blind)
#12192A
Tritanopia (blue-blind)
#300A17
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2e062b;
/* rgb */ color: rgb(46, 6, 43);
/* oklch */ color: oklch(21.8% 0.083 331.2);
Tailwind
colors: {
  custom: {
    50: '#694a64',
    500: '#2e062b',
    950: '#000000',
  },
}
SCSS
$custom: #2e062b;
$custom-light: #694a64;
$custom-dark: #000000;
JSON
{
  "hex": "#2e062b",
  "rgb": {
    "r": 46,
    "g": 6,
    "b": 43
  },
  "hsl": {
    "h": 304.5,
    "s": 76.923,
    "l": 10.196
  },
  "oklch": {
    "l": 0.21783,
    "c": 0.08281,
    "h": 331.2
  },
  "luminance": 0.00886
}

Semantic roles & 50–950 ramp

primary
#2E062B
secondary
#216F27
accent
#F34334
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060105
muted
#7A777A

Preview Lab

Preview with #2E062B

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

Preview Lab → · Contrast checker → · Palette generator →

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