#2E0732#2E0732

#2E0732 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.4% C 0.088 H 323.9°. Best body text is #FFFFFF at 17.61:1 contrast (WCAG AA passes).

Color values

HEX#2E0732
RGBrgb(46, 7, 50)
HSLhsl(294, 75%, 11%)
HSVhsv(294, 86%, 20%)
CMYKcmyk(8%, 86%, 0%, 80.4%)
CIE-LABlab(8.68, 26.36, -18.58)
CIE-LCHlch(8.68, 32.24, 324.82°)
OKLaboklab(22.43% 0.071 -0.0518)
OKLCHoklch(22.43% 0.088 323.9)
XYZxyz(1.7784, 0.9632, 3.1092)
Luminance0.0096 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0732 #0B3207
analogous
#180732 #2E0732 #320720
triadic
#2E0732 #322E07 #07322E
tetradic
#2E0732 #321807 #0B3207 #072032
square
#2E0732 #321807 #0B3207 #072032
split-complementary
#2E0732 #203207 #073218
monochromatic
#19041B #19041B #2E0732 #5F0F68 #91169D

Accessibility & contrast

On white

17.61
#2E0732 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#2E0732 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E0732
17.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0732#FFFFFF#000000##FFFFFF
##2E07321.0017.611.1917.61
#FFFFFF17.611.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001633
Deuteranopia (green-blind)
#0F1A31
Tritanopia (blue-blind)
#2F0E1C
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2e0732;
/* rgb */ color: rgb(46, 7, 50);
/* oklch */ color: oklch(22.4% 0.088 323.9);
Tailwind
colors: {
  custom: {
    50: '#694b6a',
    500: '#2e0732',
    950: '#000000',
  },
}
SCSS
$custom: #2e0732;
$custom-light: #694b6a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0732",
  "rgb": {
    "r": 46,
    "g": 7,
    "b": 50
  },
  "hsl": {
    "h": 294.419,
    "s": 75.439,
    "l": 11.176
  },
  "oklch": {
    "l": 0.22428,
    "c": 0.08792,
    "h": 323.9
  },
  "luminance": 0.00963
}

Semantic roles & 50–950 ramp

primary
#2E0732
secondary
#2A7223
accent
#F23647
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2E0732

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

Preview Lab → · Contrast checker → · Palette generator →

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