#2E0441#2E0441

#2E0441 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 23.3% C 0.108 H 312.0°. Best body text is #FFFFFF at 17.36:1 contrast (WCAG AA passes).

Color values

HEX#2E0441
RGBrgb(46, 4, 65)
HSLhsl(281, 88%, 14%)
HSVhsv(281, 94%, 25%)
CMYKcmyk(29.2%, 93.8%, 0%, 74.5%)
CIE-LABlab(9.40, 31.37, -28.26)
CIE-LCHlch(9.40, 42.22, 317.98°)
OKLaboklab(23.33% 0.0722 -0.0802)
OKLCHoklch(23.33% 0.108 312)
XYZxyz(2.1241, 1.0494, 5.0907)
Luminance0.0105 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0441 #174104
analogous
#0F0441 #2E0441 #410435
triadic
#2E0441 #412E04 #04412E
tetradic
#2E0441 #410F04 #174104 #043541
square
#2E0441 #410F04 #174104 #043541
split-complementary
#2E0441 #354104 #04410F
monochromatic
#14021D #14021D #2E0441 #57087B #800BB4

Accessibility & contrast

On white

17.36
#2E0441 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#2E0441 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E0441
17.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0441#FFFFFF#000000##FFFFFF
##2E04411.0017.361.2117.36
#FFFFFF17.361.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001843
Deuteranopia (green-blind)
#001B40
Tritanopia (blue-blind)
#2C1423
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2e0441;
/* rgb */ color: rgb(46, 4, 65);
/* oklch */ color: oklch(23.3% 0.108 312.0);
Tailwind
colors: {
  custom: {
    50: '#6a4a76',
    500: '#2e0441',
    950: '#000000',
  },
}
SCSS
$custom: #2e0441;
$custom-light: #6a4a76;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0441",
  "rgb": {
    "r": 46,
    "g": 4,
    "b": 65
  },
  "hsl": {
    "h": 281.311,
    "s": 88.406,
    "l": 13.529
  },
  "oklch": {
    "l": 0.23329,
    "c": 0.10786,
    "h": 312
  },
  "luminance": 0.01049
}

Semantic roles & 50–950 ramp

primary
#2E0441
secondary
#3E821F
accent
#FF296C
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070108
muted
#7A777B

Preview Lab

Preview with #2E0441

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

Preview Lab → · Contrast checker → · Palette generator →

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