#2E0637#2E0637

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

Color values

HEX#2E0637
RGBrgb(46, 6, 55)
HSLhsl(289, 80%, 12%)
HSVhsv(289, 89%, 22%)
CMYKcmyk(16.4%, 89.1%, 0%, 78.4%)
CIE-LABlab(8.88, 28.00, -21.91)
CIE-LCHlch(8.88, 35.55, 321.96°)
OKLaboklab(22.7% 0.0719 -0.0615)
OKLCHoklch(22.7% 0.095 319.5)
XYZxyz(1.8813, 0.9870, 3.7051)
Luminance0.0099 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0637 #0F3706
analogous
#160637 #2E0637 #370628
triadic
#2E0637 #372E06 #06372E
tetradic
#2E0637 #371606 #0F3706 #062837
square
#2E0637 #371606 #0F3706 #062837
split-complementary
#2E0637 #283706 #063716
monochromatic
#17031C #17031C #2E0637 #5C0C6E #8A12A5

Accessibility & contrast

On white

17.54
#2E0637 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E0637
17.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0637#FFFFFF#000000##FFFFFF
##2E06371.0017.541.2017.54
#FFFFFF17.541.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e0637;
/* rgb */ color: rgb(46, 6, 55);
/* oklch */ color: oklch(22.7% 0.095 319.5);
Tailwind
colors: {
  custom: {
    50: '#694b6e',
    500: '#2e0637',
    950: '#000000',
  },
}
SCSS
$custom: #2e0637;
$custom-light: #694b6e;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0637",
  "rgb": {
    "r": 46,
    "g": 6,
    "b": 55
  },
  "hsl": {
    "h": 288.98,
    "s": 80.328,
    "l": 11.961
  },
  "oklch": {
    "l": 0.22695,
    "c": 0.09466,
    "h": 319.5
  },
  "luminance": 0.00987
}

Semantic roles & 50–950 ramp

primary
#2E0637
secondary
#317721
accent
#F73155
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #2E0637

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

Preview Lab → · Contrast checker → · Palette generator →

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