#2E0332#2E0332

#2E0332 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.9% C 0.095 H 324.3°. Best body text is #FFFFFF at 17.87:1 contrast (WCAG AA passes).

Color values

HEX#2E0332
RGBrgb(46, 3, 50)
HSLhsl(295, 89%, 10%)
HSVhsv(295, 94%, 20%)
CMYKcmyk(8%, 94%, 0%, 80.4%)
CIE-LABlab(7.92, 28.56, -19.80)
CIE-LCHlch(7.92, 34.75, 325.27°)
OKLaboklab(21.89% 0.0771 -0.0553)
OKLCHoklch(21.89% 0.095 324.3)
XYZxyz(1.7350, 0.8764, 3.0948)
Luminance0.0088 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0332 #073203
analogous
#160332 #2E0332 #32031E
triadic
#2E0332 #322E03 #03322E
tetradic
#2E0332 #321603 #073203 #031E32
square
#2E0332 #321603 #073203 #031E32
split-complementary
#2E0332 #1E3203 #033216
monochromatic
#1B021D #1B021D #2E0332 #63066C #980AA5

Accessibility & contrast

On white

17.87
#2E0332 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E0332
17.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0332#FFFFFF#000000##FFFFFF
##2E03321.0017.871.1817.87
#FFFFFF17.871.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001433
Deuteranopia (green-blind)
#0C1931
Tritanopia (blue-blind)
#2F0B1A
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2e0332;
/* rgb */ color: rgb(46, 3, 50);
/* oklch */ color: oklch(21.9% 0.095 324.3);
Tailwind
colors: {
  custom: {
    50: '#69496a',
    500: '#2e0332',
    950: '#000000',
  },
}
SCSS
$custom: #2e0332;
$custom-light: #69496a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0332",
  "rgb": {
    "r": 46,
    "g": 3,
    "b": 50
  },
  "hsl": {
    "h": 294.894,
    "s": 88.679,
    "l": 10.392
  },
  "oklch": {
    "l": 0.21886,
    "c": 0.09489,
    "h": 324.3
  },
  "luminance": 0.00876
}

Semantic roles & 50–950 ramp

primary
#2E0332
secondary
#23751B
accent
#FF293B
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2E0332

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

Preview Lab → · Contrast checker → · Palette generator →

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