#2E0D47#2E0D47

#2E0D47 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.9% C 0.103 H 306.1°. Best body text is #FFFFFF at 16.60:1 contrast (WCAG AA passes).

Color values

HEX#2E0D47
RGBrgb(46, 13, 71)
HSLhsl(274, 69%, 16%)
HSVhsv(274, 82%, 28%)
CMYKcmyk(35.2%, 81.7%, 0%, 72.2%)
CIE-LABlab(11.44, 28.57, -29.17)
CIE-LCHlch(11.44, 40.83, 314.40°)
OKLaboklab(24.93% 0.0605 -0.0829)
OKLCHoklch(24.93% 0.103 306.1)
XYZxyz(2.4077, 1.3236, 6.0887)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0D47 #26470D
analogous
#110D47 #2E0D47 #470D43
triadic
#2E0D47 #472E0D #0D472E
tetradic
#2E0D47 #47110D #26470D #0D4347
square
#2E0D47 #47110D #26470D #0D4347
split-complementary
#2E0D47 #43470D #0D4711
monochromatic
#11051A #11051A #2E0D47 #50167B #7120AE

Accessibility & contrast

On white

16.60
#2E0D47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#2E0D47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E0D47
16.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0D47#FFFFFF#000000##FFFFFF
##2E0D471.0016.601.2616.60
#FFFFFF16.601.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D49
Deuteranopia (green-blind)
#001F46
Tritanopia (blue-blind)
#2A1B29
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2e0d47;
/* rgb */ color: rgb(46, 13, 71);
/* oklch */ color: oklch(24.9% 0.103 306.1);
Tailwind
colors: {
  custom: {
    50: '#6a4f7b',
    500: '#2e0d47',
    950: '#000000',
  },
}
SCSS
$custom: #2e0d47;
$custom-light: #6a4f7b;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0d47",
  "rgb": {
    "r": 46,
    "g": 13,
    "b": 71
  },
  "hsl": {
    "h": 274.138,
    "s": 69.048,
    "l": 16.471
  },
  "oklch": {
    "l": 0.24933,
    "c": 0.10264,
    "h": 306.1
  },
  "luminance": 0.01324
}

Semantic roles & 50–950 ramp

primary
#2E0D47
secondary
#52822D
accent
#EC3C88
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#070209
muted
#7A787B

Preview Lab

Preview with #2E0D47

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

Preview Lab → · Contrast checker → · Palette generator →

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