#2E062F#2E062F

#2E062F is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.1% C 0.087 H 327.0°. Best body text is #FFFFFF at 17.75:1 contrast (WCAG AA passes).

Color values

HEX#2E062F
RGBrgb(46, 6, 47)
HSLhsl(299, 77%, 10%)
HSVhsv(299, 87%, 18%)
CMYKcmyk(2.1%, 87.2%, 0%, 81.6%)
CIE-LABlab(8.27, 26.25, -17.01)
CIE-LCHlch(8.27, 31.28, 327.06°)
OKLaboklab(22.07% 0.0727 -0.0472)
OKLCHoklch(22.07% 0.087 327)
XYZxyz(1.7049, 0.9164, 2.7759)
Luminance0.0092 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E062F #072F06
analogous
#19062F #2E062F #2F061B
triadic
#2E062F #2F2E06 #062F2E
tetradic
#2E062F #2F1906 #072F06 #061B2F
square
#2E062F #2F1906 #072F06 #061B2F
split-complementary
#2E062F #1B2F06 #062F19
monochromatic
#1B031B #1B031B #2E062F #630D65 #98149C

Accessibility & contrast

On white

17.75
#2E062F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E062F
17.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E062F#FFFFFF#000000##FFFFFF
##2E062F1.0017.751.1817.75
#FFFFFF17.751.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011530
Deuteranopia (green-blind)
#101A2E
Tritanopia (blue-blind)
#300C1A
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2e062f;
/* rgb */ color: rgb(46, 6, 47);
/* oklch */ color: oklch(22.1% 0.087 327.0);
Tailwind
colors: {
  custom: {
    50: '#694a67',
    500: '#2e062f',
    950: '#000000',
  },
}
SCSS
$custom: #2e062f;
$custom-light: #694a67;
$custom-dark: #000000;
JSON
{
  "hex": "#2e062f",
  "rgb": {
    "r": 46,
    "g": 6,
    "b": 47
  },
  "hsl": {
    "h": 298.537,
    "s": 77.358,
    "l": 10.392
  },
  "oklch": {
    "l": 0.22068,
    "c": 0.08664,
    "h": 327
  },
  "luminance": 0.00916
}

Semantic roles & 50–950 ramp

primary
#2E062F
secondary
#237021
accent
#F43439
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2E062F

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

Preview Lab → · Contrast checker → · Palette generator →

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