#2E1030#2E1030

#2E1030 is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 23.6% C 0.070 H 325.1°. Best body text is #FFFFFF at 17.03:1 contrast (WCAG AA passes).

Color values

HEX#2E1030
RGBrgb(46, 16, 48)
HSLhsl(296, 50%, 13%)
HSVhsv(296, 67%, 19%)
CMYKcmyk(4.2%, 66.7%, 0%, 81.2%)
CIE-LABlab(10.30, 21.04, -14.55)
CIE-LCHlch(10.30, 25.58, 325.34°)
OKLaboklab(23.55% 0.0575 -0.0402)
OKLCHoklch(23.55% 0.07 325.1)
XYZxyz(1.8455, 1.1649, 2.9234)
Luminance0.0117 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1030 #123010
analogous
#1E1030 #2E1030 #301022
triadic
#2E1030 #302E10 #10302E
tetradic
#2E1030 #301E10 #123010 #102230
square
#2E1030 #301E10 #123010 #102230
split-complementary
#2E1030 #223010 #10301E
monochromatic
#160817 #160817 #2E1030 #5A1F5E #862F8C

Accessibility & contrast

On white

17.03
#2E1030 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#2E1030 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E1030
17.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1030#FFFFFF#000000##FFFFFF
##2E10301.0017.031.2317.03
#FFFFFF17.031.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C1A31
Deuteranopia (green-blind)
#151D2F
Tritanopia (blue-blind)
#2F141E
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2e1030;
/* rgb */ color: rgb(46, 16, 48);
/* oklch */ color: oklch(23.6% 0.070 325.1);
Tailwind
colors: {
  custom: {
    50: '#685068',
    500: '#2e1030',
    950: '#000000',
  },
}
SCSS
$custom: #2e1030;
$custom-light: #685068;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1030",
  "rgb": {
    "r": 46,
    "g": 16,
    "b": 48
  },
  "hsl": {
    "h": 296.25,
    "s": 50,
    "l": 12.549
  },
  "oklch": {
    "l": 0.23553,
    "c": 0.07018,
    "h": 325.1
  },
  "luminance": 0.01165
}

Semantic roles & 50–950 ramp

primary
#2E1030
secondary
#366933
accent
#DA4E57
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #2E1030

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

Preview Lab → · Contrast checker → · Palette generator →

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