#2E0631#2E0631

#2E0631 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.2% C 0.089 H 325.0°. Best body text is #FFFFFF at 17.70:1 contrast (WCAG AA passes).

Color values

HEX#2E0631
RGBrgb(46, 6, 49)
HSLhsl(296, 78%, 11%)
HSVhsv(296, 88%, 19%)
CMYKcmyk(6.1%, 87.8%, 0%, 80.8%)
CIE-LABlab(8.42, 26.67, -18.26)
CIE-LCHlch(8.42, 32.32, 325.61°)
OKLaboklab(22.22% 0.0726 -0.0508)
OKLCHoklch(22.22% 0.089 325)
XYZxyz(1.7462, 0.9330, 2.9932)
Luminance0.0093 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0631 #093106
analogous
#180631 #2E0631 #31061E
triadic
#2E0631 #312E06 #06312E
tetradic
#2E0631 #311806 #093106 #061E31
square
#2E0631 #311806 #093106 #061E31
split-complementary
#2E0631 #1E3106 #063118
monochromatic
#1A031B #1A031B #2E0631 #610D68 #94139E

Accessibility & contrast

On white

17.70
#2E0631 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E0631
17.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0631#FFFFFF#000000##FFFFFF
##2E06311.0017.701.1917.70
#FFFFFF17.701.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001532
Deuteranopia (green-blind)
#0F1A30
Tritanopia (blue-blind)
#2F0D1B
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2e0631;
/* rgb */ color: rgb(46, 6, 49);
/* oklch */ color: oklch(22.2% 0.089 325.0);
Tailwind
colors: {
  custom: {
    50: '#694a69',
    500: '#2e0631',
    950: '#000000',
  },
}
SCSS
$custom: #2e0631;
$custom-light: #694a69;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0631",
  "rgb": {
    "r": 46,
    "g": 6,
    "b": 49
  },
  "hsl": {
    "h": 295.814,
    "s": 78.182,
    "l": 10.784
  },
  "oklch": {
    "l": 0.22218,
    "c": 0.08861,
    "h": 325
  },
  "luminance": 0.00933
}

Semantic roles & 50–950 ramp

primary
#2E0631
secondary
#277221
accent
#F53341
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2E0631

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

Preview Lab → · Contrast checker → · Palette generator →

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