#2E1035#2E1035

#2E1035 is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 23.9% C 0.076 H 319.7°. Best body text is #FFFFFF at 16.91:1 contrast (WCAG AA passes).

Color values

HEX#2E1035
RGBrgb(46, 16, 53)
HSLhsl(289, 54%, 14%)
HSVhsv(289, 70%, 21%)
CMYKcmyk(13.2%, 69.8%, 0%, 79.2%)
CIE-LABlab(10.62, 22.24, -17.68)
CIE-LCHlch(10.62, 28.41, 321.52°)
OKLaboklab(23.9% 0.058 -0.0493)
OKLCHoklch(23.9% 0.076 319.7)
XYZxyz(1.9545, 1.2086, 3.4978)
Luminance0.0121 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1035 #173510
analogous
#1B1035 #2E1035 #351029
triadic
#2E1035 #352E10 #10352E
tetradic
#2E1035 #351B10 #173510 #102935
square
#2E1035 #351B10 #173510 #102935
split-complementary
#2E1035 #293510 #10351B
monochromatic
#140718 #140718 #2E1035 #571E64 #802C93

Accessibility & contrast

On white

16.91
#2E1035 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#2E1035 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E1035
16.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1035#FFFFFF#000000##FFFFFF
##2E10351.0016.911.2416.91
#FFFFFF16.911.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081B36
Deuteranopia (green-blind)
#131E34
Tritanopia (blue-blind)
#2E1620
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2e1035;
/* rgb */ color: rgb(46, 16, 53);
/* oklch */ color: oklch(23.9% 0.076 319.7);
Tailwind
colors: {
  custom: {
    50: '#68506c',
    500: '#2e1035',
    950: '#000000',
  },
}
SCSS
$custom: #2e1035;
$custom-light: #68506c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1035",
  "rgb": {
    "r": 46,
    "g": 16,
    "b": 53
  },
  "hsl": {
    "h": 288.649,
    "s": 53.623,
    "l": 13.529
  },
  "oklch": {
    "l": 0.23895,
    "c": 0.07611,
    "h": 319.7
  },
  "luminance": 0.01208
}

Semantic roles & 50–950 ramp

primary
#2E1035
secondary
#3E6F32
accent
#DD4B66
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060207
muted
#7A787A

Preview Lab

Preview with #2E1035

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

Preview Lab → · Contrast checker → · Palette generator →

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