#2E0741#2E0741

#2E0741 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.7% C 0.104 H 311.4°. Best body text is #FFFFFF at 17.17:1 contrast (WCAG AA passes).

Color values

HEX#2E0741
RGBrgb(46, 7, 65)
HSLhsl(280, 81%, 14%)
HSVhsv(280, 89%, 25%)
CMYKcmyk(29.2%, 89.2%, 0%, 74.5%)
CIE-LABlab(9.91, 29.87, -27.43)
CIE-LCHlch(9.91, 40.55, 317.44°)
OKLaboklab(23.69% 0.0686 -0.0777)
OKLCHoklch(23.69% 0.104 311.4)
XYZxyz(2.1566, 1.1145, 5.1015)
Luminance0.0111 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0741 #1A4107
analogous
#110741 #2E0741 #410737
triadic
#2E0741 #412E07 #07412E
tetradic
#2E0741 #411107 #1A4107 #073741
square
#2E0741 #411107 #1A4107 #073741
split-complementary
#2E0741 #374107 #074111
monochromatic
#14031C #14031C #2E0741 #550D78 #7C13B0

Accessibility & contrast

On white

17.17
#2E0741 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E0741
17.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0741#FFFFFF#000000##FFFFFF
##2E07411.0017.171.2217.17
#FFFFFF17.171.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e0741;
/* rgb */ color: rgb(46, 7, 65);
/* oklch */ color: oklch(23.7% 0.104 311.4);
Tailwind
colors: {
  custom: {
    50: '#6a4c76',
    500: '#2e0741',
    950: '#000000',
  },
}
SCSS
$custom: #2e0741;
$custom-light: #6a4c76;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0741",
  "rgb": {
    "r": 46,
    "g": 7,
    "b": 65
  },
  "hsl": {
    "h": 280.345,
    "s": 80.556,
    "l": 14.118
  },
  "oklch": {
    "l": 0.23688,
    "c": 0.10367,
    "h": 311.4
  },
  "luminance": 0.01114
}

Semantic roles & 50–950 ramp

primary
#2E0741
secondary
#428024
accent
#F73172
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070108
muted
#7A777B

Preview Lab

Preview with #2E0741

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

Preview Lab → · Contrast checker → · Palette generator →

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