#2E0E4E#2E0E4E

#2E0E4E is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.7% C 0.110 H 301.7°. Best body text is #FFFFFF at 16.29:1 contrast (WCAG AA passes).

Color values

HEX#2E0E4E
RGBrgb(46, 14, 78)
HSLhsl(270, 70%, 18%)
HSVhsv(270, 82%, 31%)
CMYKcmyk(41%, 82.1%, 0%, 69.4%)
CIE-LABlab(12.25, 29.99, -32.70)
CIE-LCHlch(12.25, 44.37, 312.53°)
OKLaboklab(25.71% 0.0577 -0.0933)
OKLCHoklch(25.71% 0.11 301.7)
XYZxyz(2.6586, 1.4450, 7.3451)
Luminance0.0144 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0E4E #2E4E0E
analogous
#0E0E4E #2E0E4E #4E0E4E
triadic
#2E0E4E #4E2E0E #0E4E2E
tetradic
#2E0E4E #4E0E0E #2E4E0E #0E4E4E
square
#2E0E4E #4E0E0E #2E4E0E #0E4E4E
split-complementary
#2E0E4E #4E4E0E #0E4E0E
monochromatic
#0F051A #0F051A #2E0E4E #4D1782 #6B21B6

Accessibility & contrast

On white

16.29
#2E0E4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#2E0E4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E0E4E
16.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0E4E#FFFFFF#000000##FFFFFF
##2E0E4E1.0016.291.2916.29
#FFFFFF16.291.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002050
Deuteranopia (green-blind)
#00204D
Tritanopia (blue-blind)
#271E2D
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #2e0e4e;
/* rgb */ color: rgb(46, 14, 78);
/* oklch */ color: oklch(25.7% 0.110 301.7);
Tailwind
colors: {
  custom: {
    50: '#6b5080',
    500: '#2e0e4e',
    950: '#000000',
  },
}
SCSS
$custom: #2e0e4e;
$custom-light: #6b5080;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0e4e",
  "rgb": {
    "r": 46,
    "g": 14,
    "b": 78
  },
  "hsl": {
    "h": 270,
    "s": 69.565,
    "l": 18.039
  },
  "oklch": {
    "l": 0.25707,
    "c": 0.10971,
    "h": 301.7
  },
  "luminance": 0.01445
}

Semantic roles & 50–950 ramp

primary
#2E0E4E
secondary
#5C892F
accent
#EC3B94
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#07020A
muted
#7A787C

Preview Lab

Preview with #2E0E4E

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

Preview Lab → · Contrast checker → · Palette generator →

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