#2E0D46#2E0D46

#2E0D46 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.8% C 0.101 H 306.8°. Best body text is #FFFFFF at 16.64:1 contrast (WCAG AA passes).

Color values

HEX#2E0D46
RGBrgb(46, 13, 70)
HSLhsl(275, 69%, 16%)
HSVhsv(275, 81%, 27%)
CMYKcmyk(34.3%, 81.4%, 0%, 72.5%)
CIE-LABlab(11.35, 28.30, -28.61)
CIE-LCHlch(11.35, 40.25, 314.68°)
OKLaboklab(24.84% 0.0607 -0.0813)
OKLCHoklch(24.84% 0.101 306.8)
XYZxyz(2.3759, 1.3109, 5.9210)
Luminance0.0131 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0D46 #25460D
analogous
#120D46 #2E0D46 #460D42
triadic
#2E0D46 #462E0D #0D462E
tetradic
#2E0D46 #46120D #25460D #0D4246
square
#2E0D46 #46120D #25460D #0D4246
split-complementary
#2E0D46 #42460D #0D4612
monochromatic
#11051A #11051A #2E0D46 #50177A #7220AD

Accessibility & contrast

On white

16.64
#2E0D46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E0D46
16.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0D46#FFFFFF#000000##FFFFFF
##2E0D461.0016.641.2616.64
#FFFFFF16.641.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D48
Deuteranopia (green-blind)
#001E45
Tritanopia (blue-blind)
#2A1B28
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2e0d46;
/* rgb */ color: rgb(46, 13, 70);
/* oklch */ color: oklch(24.8% 0.101 306.8);
Tailwind
colors: {
  custom: {
    50: '#6a4f7a',
    500: '#2e0d46',
    950: '#000000',
  },
}
SCSS
$custom: #2e0d46;
$custom-light: #6a4f7a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0d46",
  "rgb": {
    "r": 46,
    "g": 13,
    "b": 70
  },
  "hsl": {
    "h": 274.737,
    "s": 68.675,
    "l": 16.275
  },
  "oklch": {
    "l": 0.24842,
    "c": 0.10146,
    "h": 306.8
  },
  "luminance": 0.01311
}

Semantic roles & 50–950 ramp

primary
#2E0D46
secondary
#51812D
accent
#EC3C86
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070209
muted
#7A787B

Preview Lab

Preview with #2E0D46

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

Preview Lab → · Contrast checker → · Palette generator →

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