#2E0641#2E0641

#2E0641 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.6% C 0.105 H 311.6°. Best body text is #FFFFFF at 17.23:1 contrast (WCAG AA passes).

Color values

HEX#2E0641
RGBrgb(46, 6, 65)
HSLhsl(281, 83%, 14%)
HSVhsv(281, 91%, 25%)
CMYKcmyk(29.2%, 90.8%, 0%, 74.5%)
CIE-LABlab(9.74, 30.36, -27.70)
CIE-LCHlch(9.74, 41.10, 317.62°)
OKLaboklab(23.57% 0.0698 -0.0785)
OKLCHoklch(23.57% 0.105 311.6)
XYZxyz(2.1458, 1.0928, 5.0979)
Luminance0.0109 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0641 #194106
analogous
#110641 #2E0641 #410637
triadic
#2E0641 #412E06 #06412E
tetradic
#2E0641 #411106 #194106 #063741
square
#2E0641 #411106 #194106 #063741
split-complementary
#2E0641 #374106 #064111
monochromatic
#14031C #14031C #2E0641 #560B79 #7D10B1

Accessibility & contrast

On white

17.23
#2E0641 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#2E0641 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E0641
17.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0641#FFFFFF#000000##FFFFFF
##2E06411.0017.231.2217.23
#FFFFFF17.231.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001943
Deuteranopia (green-blind)
#001C40
Tritanopia (blue-blind)
#2C1524
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2e0641;
/* rgb */ color: rgb(46, 6, 65);
/* oklch */ color: oklch(23.6% 0.105 311.6);
Tailwind
colors: {
  custom: {
    50: '#6a4b76',
    500: '#2e0641',
    950: '#000000',
  },
}
SCSS
$custom: #2e0641;
$custom-light: #6a4b76;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0641",
  "rgb": {
    "r": 46,
    "g": 6,
    "b": 65
  },
  "hsl": {
    "h": 280.678,
    "s": 83.099,
    "l": 13.922
  },
  "oklch": {
    "l": 0.2357,
    "c": 0.10504,
    "h": 311.6
  },
  "luminance": 0.01093
}

Semantic roles & 50–950 ramp

primary
#2E0641
secondary
#418122
accent
#F92E70
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070108
muted
#7A777B

Preview Lab

Preview with #2E0641

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

Preview Lab → · Contrast checker → · Palette generator →

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