#2E0736#2E0736

#2E0736 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.7% C 0.092 H 320.2°. Best body text is #FFFFFF at 17.50:1 contrast (WCAG AA passes).

Color values

HEX#2E0736
RGBrgb(46, 7, 54)
HSLhsl(290, 77%, 12%)
HSVhsv(290, 87%, 21%)
CMYKcmyk(14.8%, 87%, 0%, 78.8%)
CIE-LABlab(8.98, 27.25, -21.02)
CIE-LCHlch(8.98, 34.41, 322.36°)
OKLaboklab(22.74% 0.0707 -0.0589)
OKLCHoklch(22.74% 0.092 320.2)
XYZxyz(1.8685, 0.9992, 3.5838)
Luminance0.0100 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0736 #0F3607
analogous
#170736 #2E0736 #360727
triadic
#2E0736 #362E07 #07362E
tetradic
#2E0736 #361707 #0F3607 #072736
square
#2E0736 #361707 #0F3607 #072736
split-complementary
#2E0736 #273607 #073617
monochromatic
#17041B #17041B #2E0736 #5C0E6C #8A15A2

Accessibility & contrast

On white

17.50
#2E0736 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E0736
17.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0736#FFFFFF#000000##FFFFFF
##2E07361.0017.501.2017.50
#FFFFFF17.501.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001737
Deuteranopia (green-blind)
#0B1B35
Tritanopia (blue-blind)
#2E101E
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2e0736;
/* rgb */ color: rgb(46, 7, 54);
/* oklch */ color: oklch(22.7% 0.092 320.2);
Tailwind
colors: {
  custom: {
    50: '#694b6d',
    500: '#2e0736',
    950: '#000000',
  },
}
SCSS
$custom: #2e0736;
$custom-light: #694b6d;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0736",
  "rgb": {
    "r": 46,
    "g": 7,
    "b": 54
  },
  "hsl": {
    "h": 289.787,
    "s": 77.049,
    "l": 11.961
  },
  "oklch": {
    "l": 0.22742,
    "c": 0.09203,
    "h": 320.2
  },
  "luminance": 0.00999
}

Semantic roles & 50–950 ramp

primary
#2E0736
secondary
#317623
accent
#F43455
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #2E0736

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

Preview Lab → · Contrast checker → · Palette generator →

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