#2E0E46#2E0E46

#2E0E46 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 25.0% C 0.100 H 306.5°. Best body text is #FFFFFF at 16.57:1 contrast (WCAG AA passes).

Color values

HEX#2E0E46
RGBrgb(46, 14, 70)
HSLhsl(274, 67%, 16%)
HSVhsv(274, 80%, 27%)
CMYKcmyk(34.3%, 80%, 0%, 72.5%)
CIE-LABlab(11.53, 27.79, -28.32)
CIE-LCHlch(11.53, 39.68, 314.46°)
OKLaboklab(24.97% 0.0596 -0.0804)
OKLCHoklch(24.97% 0.1 306.5)
XYZxyz(2.3890, 1.3371, 5.9254)
Luminance0.0134 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0E46 #26460E
analogous
#120E46 #2E0E46 #460E42
triadic
#2E0E46 #462E0E #0E462E
tetradic
#2E0E46 #46120E #26460E #0E4246
square
#2E0E46 #46120E #26460E #0E4246
split-complementary
#2E0E46 #42460E #0E4612
monochromatic
#11051A #11051A #2E0E46 #501879 #7122AC

Accessibility & contrast

On white

16.57
#2E0E46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E0E46
16.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0E46#FFFFFF#000000##FFFFFF
##2E0E461.0016.571.2716.57
#FFFFFF16.571.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E48
Deuteranopia (green-blind)
#001F45
Tritanopia (blue-blind)
#2A1B29
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #2e0e46;
/* rgb */ color: rgb(46, 14, 70);
/* oklch */ color: oklch(25.0% 0.100 306.5);
Tailwind
colors: {
  custom: {
    50: '#6a507a',
    500: '#2e0e46',
    950: '#000000',
  },
}
SCSS
$custom: #2e0e46;
$custom-light: #6a507a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0e46",
  "rgb": {
    "r": 46,
    "g": 14,
    "b": 70
  },
  "hsl": {
    "h": 274.286,
    "s": 66.667,
    "l": 16.471
  },
  "oklch": {
    "l": 0.24971,
    "c": 0.10007,
    "h": 306.5
  },
  "luminance": 0.01337
}

Semantic roles & 50–950 ramp

primary
#2E0E46
secondary
#52812F
accent
#EA3E88
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070209
muted
#7A787B

Preview Lab

Preview with #2E0E46

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

Preview Lab → · Contrast checker → · Palette generator →

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