#2E0738#2E0738

#2E0738 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.9% C 0.094 H 318.4°. Best body text is #FFFFFF at 17.45:1 contrast (WCAG AA passes).

Color values

HEX#2E0738
RGBrgb(46, 7, 56)
HSLhsl(288, 78%, 12%)
HSVhsv(288, 88%, 22%)
CMYKcmyk(17.9%, 87.5%, 0%, 78%)
CIE-LABlab(9.14, 27.71, -22.21)
CIE-LCHlch(9.14, 35.51, 321.28°)
OKLaboklab(22.91% 0.0704 -0.0624)
OKLCHoklch(22.91% 0.094 318.4)
XYZxyz(1.9164, 1.0184, 3.8362)
Luminance0.0102 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0738 #113807
analogous
#150738 #2E0738 #38072A
triadic
#2E0738 #382E07 #07382E
tetradic
#2E0738 #381507 #113807 #072A38
square
#2E0738 #381507 #113807 #072A38
split-complementary
#2E0738 #2A3807 #073815
monochromatic
#16031B #16031B #2E0738 #5B0E6E #8715A5

Accessibility & contrast

On white

17.45
#2E0738 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#2E0738 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E0738
17.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0738#FFFFFF#000000##FFFFFF
##2E07381.0017.451.2017.45
#FFFFFF17.451.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001739
Deuteranopia (green-blind)
#091B37
Tritanopia (blue-blind)
#2E111F
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2e0738;
/* rgb */ color: rgb(46, 7, 56);
/* oklch */ color: oklch(22.9% 0.094 318.4);
Tailwind
colors: {
  custom: {
    50: '#694b6f',
    500: '#2e0738',
    950: '#000000',
  },
}
SCSS
$custom: #2e0738;
$custom-light: #694b6f;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0738",
  "rgb": {
    "r": 46,
    "g": 7,
    "b": 56
  },
  "hsl": {
    "h": 287.755,
    "s": 77.778,
    "l": 12.353
  },
  "oklch": {
    "l": 0.22905,
    "c": 0.09412,
    "h": 318.4
  },
  "luminance": 0.01018
}

Semantic roles & 50–950 ramp

primary
#2E0738
secondary
#347823
accent
#F4345B
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #2E0738

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

Preview Lab → · Contrast checker → · Palette generator →

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