#2E0739#2E0739

#2E0739 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 23.0% C 0.095 H 317.6°. Best body text is #FFFFFF at 17.42:1 contrast (WCAG AA passes).

Color values

HEX#2E0739
RGBrgb(46, 7, 57)
HSLhsl(287, 78%, 13%)
HSVhsv(287, 88%, 22%)
CMYKcmyk(19.3%, 87.7%, 0%, 77.6%)
CIE-LABlab(9.22, 27.94, -22.81)
CIE-LCHlch(9.22, 36.07, 320.78°)
OKLaboklab(22.99% 0.0703 -0.0642)
OKLCHoklch(22.99% 0.095 317.6)
XYZxyz(1.9411, 1.0283, 3.9663)
Luminance0.0103 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0739 #123907
analogous
#150739 #2E0739 #39072B
triadic
#2E0739 #392E07 #07392E
tetradic
#2E0739 #391507 #123907 #072B39
square
#2E0739 #391507 #123907 #072B39
split-complementary
#2E0739 #2B3907 #073915
monochromatic
#16031B #16031B #2E0739 #5A0E70 #8614A6

Accessibility & contrast

On white

17.42
#2E0739 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E0739
17.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0739#FFFFFF#000000##FFFFFF
##2E07391.0017.421.2117.42
#FFFFFF17.421.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183A
Deuteranopia (green-blind)
#081B38
Tritanopia (blue-blind)
#2E121F
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2e0739;
/* rgb */ color: rgb(46, 7, 57);
/* oklch */ color: oklch(23.0% 0.095 317.6);
Tailwind
colors: {
  custom: {
    50: '#694b70',
    500: '#2e0739',
    950: '#000000',
  },
}
SCSS
$custom: #2e0739;
$custom-light: #694b70;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0739",
  "rgb": {
    "r": 46,
    "g": 7,
    "b": 57
  },
  "hsl": {
    "h": 286.8,
    "s": 78.125,
    "l": 12.549
  },
  "oklch": {
    "l": 0.22988,
    "c": 0.09516,
    "h": 317.6
  },
  "luminance": 0.01028
}

Semantic roles & 50–950 ramp

primary
#2E0739
secondary
#367923
accent
#F5335E
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #2E0739

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

Preview Lab → · Contrast checker → · Palette generator →

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