#2E0734#2E0734

#2E0734 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.6% C 0.090 H 322.0°. Best body text is #FFFFFF at 17.56:1 contrast (WCAG AA passes).

Color values

HEX#2E0734
RGBrgb(46, 7, 52)
HSLhsl(292, 76%, 12%)
HSVhsv(292, 87%, 20%)
CMYKcmyk(11.5%, 86.5%, 0%, 79.6%)
CIE-LABlab(8.83, 26.80, -19.81)
CIE-LCHlch(8.83, 33.32, 323.54°)
OKLaboklab(22.58% 0.0709 -0.0554)
OKLCHoklch(22.58% 0.09 322)
XYZxyz(1.8225, 0.9808, 3.3415)
Luminance0.0098 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0734 #0D3407
analogous
#180734 #2E0734 #340724
triadic
#2E0734 #342E07 #07342E
tetradic
#2E0734 #341807 #0D3407 #072434
square
#2E0734 #341807 #0D3407 #072434
split-complementary
#2E0734 #243407 #073418
monochromatic
#18041B #18041B #2E0734 #5E0E6A #8D16A0

Accessibility & contrast

On white

17.56
#2E0734 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#2E0734 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E0734
17.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0734#FFFFFF#000000##FFFFFF
##2E07341.0017.561.2017.56
#FFFFFF17.561.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001635
Deuteranopia (green-blind)
#0D1B33
Tritanopia (blue-blind)
#2F0F1D
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2e0734;
/* rgb */ color: rgb(46, 7, 52);
/* oklch */ color: oklch(22.6% 0.090 322.0);
Tailwind
colors: {
  custom: {
    50: '#694b6c',
    500: '#2e0734',
    950: '#000000',
  },
}
SCSS
$custom: #2e0734;
$custom-light: #694b6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0734",
  "rgb": {
    "r": 46,
    "g": 7,
    "b": 52
  },
  "hsl": {
    "h": 292,
    "s": 76.271,
    "l": 11.569
  },
  "oklch": {
    "l": 0.22583,
    "c": 0.08997,
    "h": 322
  },
  "luminance": 0.00981
}

Semantic roles & 50–950 ramp

primary
#2E0734
secondary
#2E7423
accent
#F3354E
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #2E0734

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

Preview Lab → · Contrast checker → · Palette generator →

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