#2E0E47#2E0E47

#2E0E47 is a dark, moderate violet. Relative luminance 0.013; OKLCH L 25.1% C 0.101 H 305.9°. Best body text is #FFFFFF at 16.54:1 contrast (WCAG AA passes).

Color values

HEX#2E0E47
RGBrgb(46, 14, 71)
HSLhsl(274, 67%, 17%)
HSVhsv(274, 80%, 28%)
CMYKcmyk(35.2%, 80.3%, 0%, 72.2%)
CIE-LABlab(11.62, 28.06, -28.88)
CIE-LCHlch(11.62, 40.26, 314.18°)
OKLaboklab(25.06% 0.0594 -0.0821)
OKLCHoklch(25.06% 0.101 305.9)
XYZxyz(2.4208, 1.3499, 6.0930)
Luminance0.0135 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0E47 #27470E
analogous
#120E47 #2E0E47 #470E44
triadic
#2E0E47 #472E0E #0E472E
tetradic
#2E0E47 #47120E #27470E #0E4447
square
#2E0E47 #47120E #27470E #0E4447
split-complementary
#2E0E47 #44470E #0E4712
monochromatic
#11051A #11051A #2E0E47 #4F187A #7022AD

Accessibility & contrast

On white

16.54
#2E0E47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E0E47
16.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0E47#FFFFFF#000000##FFFFFF
##2E0E471.0016.541.2716.54
#FFFFFF16.541.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e0e47;
/* rgb */ color: rgb(46, 14, 71);
/* oklch */ color: oklch(25.1% 0.101 305.9);
Tailwind
colors: {
  custom: {
    50: '#6a507b',
    500: '#2e0e47',
    950: '#000000',
  },
}
SCSS
$custom: #2e0e47;
$custom-light: #6a507b;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0e47",
  "rgb": {
    "r": 46,
    "g": 14,
    "b": 71
  },
  "hsl": {
    "h": 273.684,
    "s": 67.059,
    "l": 16.667
  },
  "oklch": {
    "l": 0.2506,
    "c": 0.10127,
    "h": 305.9
  },
  "luminance": 0.0135
}

Semantic roles & 50–950 ramp

primary
#2E0E47
secondary
#53822F
accent
#EA3E89
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#070209
muted
#7A787B

Preview Lab

Preview with #2E0E47

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

Preview Lab → · Contrast checker → · Palette generator →

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