#2E0E48#2E0E48

#2E0E48 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.1% C 0.102 H 305.3°. Best body text is #FFFFFF at 16.50:1 contrast (WCAG AA passes).

Color values

HEX#2E0E48
RGBrgb(46, 14, 72)
HSLhsl(273, 67%, 17%)
HSVhsv(273, 81%, 28%)
CMYKcmyk(36.1%, 80.6%, 0%, 71.8%)
CIE-LABlab(11.71, 28.33, -29.43)
CIE-LCHlch(11.71, 40.85, 313.91°)
OKLaboklab(25.15% 0.0592 -0.0837)
OKLCHoklch(25.15% 0.102 305.3)
XYZxyz(2.4532, 1.3628, 6.2634)
Luminance0.0136 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0E48 #28480E
analogous
#110E48 #2E0E48 #480E45
triadic
#2E0E48 #482E0E #0E482E
tetradic
#2E0E48 #48110E #28480E #0E4548
square
#2E0E48 #48110E #28480E #0E4548
split-complementary
#2E0E48 #45480E #0E4811
monochromatic
#10051A #10051A #2E0E48 #4F187B #6F22AE

Accessibility & contrast

On white

16.50
#2E0E48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#2E0E48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E0E48
16.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0E48#FFFFFF#000000##FFFFFF
##2E0E481.0016.501.2716.50
#FFFFFF16.501.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E4A
Deuteranopia (green-blind)
#001F47
Tritanopia (blue-blind)
#291C2A
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #2e0e48;
/* rgb */ color: rgb(46, 14, 72);
/* oklch */ color: oklch(25.1% 0.102 305.3);
Tailwind
colors: {
  custom: {
    50: '#6a507b',
    500: '#2e0e48',
    950: '#000000',
  },
}
SCSS
$custom: #2e0e48;
$custom-light: #6a507b;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0e48",
  "rgb": {
    "r": 46,
    "g": 14,
    "b": 72
  },
  "hsl": {
    "h": 273.103,
    "s": 67.442,
    "l": 16.863
  },
  "oklch": {
    "l": 0.2515,
    "c": 0.10248,
    "h": 305.3
  },
  "luminance": 0.01363
}

Semantic roles & 50–950 ramp

primary
#2E0E48
secondary
#55832F
accent
#EA3D8B
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#070209
muted
#7A787B

Preview Lab

Preview with #2E0E48

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

Preview Lab → · Contrast checker → · Palette generator →

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