#2E0735#2E0735

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

Color values

HEX#2E0735
RGBrgb(46, 7, 53)
HSLhsl(291, 77%, 12%)
HSVhsv(291, 87%, 21%)
CMYKcmyk(13.2%, 86.8%, 0%, 79.2%)
CIE-LABlab(8.91, 27.02, -20.41)
CIE-LCHlch(8.91, 33.87, 322.93°)
OKLaboklab(22.66% 0.0708 -0.0572)
OKLCHoklch(22.66% 0.091 321.1)
XYZxyz(1.8452, 0.9899, 3.4614)
Luminance0.0099 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0735 #0E3507
analogous
#170735 #2E0735 #350725
triadic
#2E0735 #352E07 #07352E
tetradic
#2E0735 #351707 #0E3507 #072535
square
#2E0735 #351707 #0E3507 #072535
split-complementary
#2E0735 #253507 #073517
monochromatic
#17041B #17041B #2E0735 #5D0E6B #8C15A1

Accessibility & contrast

On white

17.53
#2E0735 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E0735
17.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0735#FFFFFF#000000##FFFFFF
##2E07351.0017.531.2017.53
#FFFFFF17.531.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001736
Deuteranopia (green-blind)
#0C1B34
Tritanopia (blue-blind)
#2E101D
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2e0735;
/* rgb */ color: rgb(46, 7, 53);
/* oklch */ color: oklch(22.7% 0.091 321.1);
Tailwind
colors: {
  custom: {
    50: '#694b6c',
    500: '#2e0735',
    950: '#000000',
  },
}
SCSS
$custom: #2e0735;
$custom-light: #694b6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0735",
  "rgb": {
    "r": 46,
    "g": 7,
    "b": 53
  },
  "hsl": {
    "h": 290.87,
    "s": 76.667,
    "l": 11.765
  },
  "oklch": {
    "l": 0.22662,
    "c": 0.09099,
    "h": 321.1
  },
  "luminance": 0.0099
}

Semantic roles & 50–950 ramp

primary
#2E0735
secondary
#307523
accent
#F33552
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #2E0735

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

Preview Lab → · Contrast checker → · Palette generator →

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