#2E0A3E#2E0A3E

#2E0A3E is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.8% C 0.096 H 313.1°. Best body text is #FFFFFF at 17.08:1 contrast (WCAG AA passes).

Color values

HEX#2E0A3E
RGBrgb(46, 10, 62)
HSLhsl(282, 72%, 14%)
HSVhsv(282, 84%, 24%)
CMYKcmyk(25.8%, 83.9%, 0%, 75.7%)
CIE-LABlab(10.15, 27.68, -24.90)
CIE-LCHlch(10.15, 37.24, 318.03°)
OKLaboklab(23.78% 0.0657 -0.0703)
OKLCHoklch(23.78% 0.096 313.1)
XYZxyz(2.1046, 1.1458, 4.6668)
Luminance0.0115 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0A3E #1A3E0A
analogous
#140A3E #2E0A3E #3E0A34
triadic
#2E0A3E #3E2E0A #0A3E2E
tetradic
#2E0A3E #3E140A #1A3E0A #0A343E
square
#2E0A3E #3E140A #1A3E0A #0A343E
split-complementary
#2E0A3E #343E0A #0A3E14
monochromatic
#14041A #14041A #2E0A3E #551373 #7C1BA7

Accessibility & contrast

On white

17.08
#2E0A3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E0A3E
17.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0A3E#FFFFFF#000000##FFFFFF
##2E0A3E1.0017.081.2317.08
#FFFFFF17.081.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3F
Deuteranopia (green-blind)
#051D3D
Tritanopia (blue-blind)
#2C1623
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2e0a3e;
/* rgb */ color: rgb(46, 10, 62);
/* oklch */ color: oklch(23.8% 0.096 313.1);
Tailwind
colors: {
  custom: {
    50: '#694d74',
    500: '#2e0a3e',
    950: '#000000',
  },
}
SCSS
$custom: #2e0a3e;
$custom-light: #694d74;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0a3e",
  "rgb": {
    "r": 46,
    "g": 10,
    "b": 62
  },
  "hsl": {
    "h": 281.538,
    "s": 72.222,
    "l": 14.118
  },
  "oklch": {
    "l": 0.23775,
    "c": 0.09628,
    "h": 313.1
  },
  "luminance": 0.01146
}

Semantic roles & 50–950 ramp

primary
#2E0A3E
secondary
#427B28
accent
#EF3971
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #2E0A3E

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

Preview Lab → · Contrast checker → · Palette generator →

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