#2E0635#2E0635

#2E0635 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.5% C 0.093 H 321.2°. Best body text is #FFFFFF at 17.59:1 contrast (WCAG AA passes).

Color values

HEX#2E0635
RGBrgb(46, 6, 53)
HSLhsl(291, 80%, 12%)
HSVhsv(291, 89%, 21%)
CMYKcmyk(13.2%, 88.7%, 0%, 79.2%)
CIE-LABlab(8.72, 27.55, -20.71)
CIE-LCHlch(8.72, 34.47, 323.07°)
OKLaboklab(22.53% 0.0722 -0.058)
OKLCHoklch(22.53% 0.093 321.2)
XYZxyz(1.8344, 0.9682, 3.4577)
Luminance0.0097 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0635 #0D3506
analogous
#170635 #2E0635 #350625
triadic
#2E0635 #352E06 #06352E
tetradic
#2E0635 #351706 #0D3506 #062535
square
#2E0635 #351706 #0D3506 #062535
split-complementary
#2E0635 #253506 #063517
monochromatic
#18031B #18031B #2E0635 #5E0C6C #8D12A3

Accessibility & contrast

On white

17.59
#2E0635 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#2E0635 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E0635
17.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0635#FFFFFF#000000##FFFFFF
##2E06351.0017.591.1917.59
#FFFFFF17.591.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001636
Deuteranopia (green-blind)
#0B1A34
Tritanopia (blue-blind)
#2E0F1D
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2e0635;
/* rgb */ color: rgb(46, 6, 53);
/* oklch */ color: oklch(22.5% 0.093 321.2);
Tailwind
colors: {
  custom: {
    50: '#694b6c',
    500: '#2e0635',
    950: '#000000',
  },
}
SCSS
$custom: #2e0635;
$custom-light: #694b6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0635",
  "rgb": {
    "r": 46,
    "g": 6,
    "b": 53
  },
  "hsl": {
    "h": 291.064,
    "s": 79.661,
    "l": 11.569
  },
  "oklch": {
    "l": 0.22532,
    "c": 0.09263,
    "h": 321.2
  },
  "luminance": 0.00968
}

Semantic roles & 50–950 ramp

primary
#2E0635
secondary
#2E7521
accent
#F6324F
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #2E0635

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

Preview Lab → · Contrast checker → · Palette generator →

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