#2E0A3F#2E0A3F

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

Color values

HEX#2E0A3F
RGBrgb(46, 10, 63)
HSLhsl(281, 73%, 14%)
HSVhsv(281, 84%, 25%)
CMYKcmyk(27%, 84.1%, 0%, 75.3%)
CIE-LABlab(10.24, 27.93, -25.48)
CIE-LCHlch(10.24, 37.81, 317.63°)
OKLaboklab(23.86% 0.0656 -0.072)
OKLCHoklch(23.86% 0.097 312.3)
XYZxyz(2.1323, 1.1569, 4.8126)
Luminance0.0116 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0A3F #1B3F0A
analogous
#140A3F #2E0A3F #3F0A36
triadic
#2E0A3F #3F2E0A #0A3F2E
tetradic
#2E0A3F #3F140A #1B3F0A #0A363F
square
#2E0A3F #3F140A #1B3F0A #0A363F
split-complementary
#2E0A3F #363F0A #0A3F14
monochromatic
#13041A #13041A #2E0A3F #551274 #7B1BA9

Accessibility & contrast

On white

17.05
#2E0A3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E0A3F
17.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0A3F#FFFFFF#000000##FFFFFF
##2E0A3F1.0017.051.2317.05
#FFFFFF17.051.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A40
Deuteranopia (green-blind)
#041D3E
Tritanopia (blue-blind)
#2C1624
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2e0a3f;
/* rgb */ color: rgb(46, 10, 63);
/* oklch */ color: oklch(23.9% 0.097 312.3);
Tailwind
colors: {
  custom: {
    50: '#694d74',
    500: '#2e0a3f',
    950: '#000000',
  },
}
SCSS
$custom: #2e0a3f;
$custom-light: #694d74;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0a3f",
  "rgb": {
    "r": 46,
    "g": 10,
    "b": 63
  },
  "hsl": {
    "h": 280.755,
    "s": 72.603,
    "l": 14.314
  },
  "oklch": {
    "l": 0.23862,
    "c": 0.09741,
    "h": 312.3
  },
  "luminance": 0.01157
}

Semantic roles & 50–950 ramp

primary
#2E0A3F
secondary
#437C29
accent
#EF3873
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #2E0A3F

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

Preview Lab → · Contrast checker → · Palette generator →

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