#2E0D49#2E0D49

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

Color values

HEX#2E0D49
RGBrgb(46, 13, 73)
HSLhsl(273, 70%, 17%)
HSVhsv(273, 82%, 29%)
CMYKcmyk(37%, 82.2%, 0%, 71.4%)
CIE-LABlab(11.62, 29.11, -30.27)
CIE-LCHlch(11.62, 42.00, 313.88°)
OKLaboklab(25.12% 0.0601 -0.0862)
OKLCHoklch(25.12% 0.105 304.9)
XYZxyz(2.4730, 1.3497, 6.4323)
Luminance0.0135 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0D49 #28490D
analogous
#100D49 #2E0D49 #490D46
triadic
#2E0D49 #492E0D #0D492E
tetradic
#2E0D49 #49100D #28490D #0D4649
square
#2E0D49 #49100D #28490D #0D4649
split-complementary
#2E0D49 #46490D #0D4910
monochromatic
#10051A #10051A #2E0D49 #4F167D #6F20B1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E0D49#FFFFFF#000000##FFFFFF
##2E0D491.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)
#001E4B
Deuteranopia (green-blind)
#001F48
Tritanopia (blue-blind)
#291C2A
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #2e0d49;
/* rgb */ color: rgb(46, 13, 73);
/* oklch */ color: oklch(25.1% 0.105 304.9);
Tailwind
colors: {
  custom: {
    50: '#6a4f7c',
    500: '#2e0d49',
    950: '#000000',
  },
}
SCSS
$custom: #2e0d49;
$custom-light: #6a4f7c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0d49",
  "rgb": {
    "r": 46,
    "g": 13,
    "b": 73
  },
  "hsl": {
    "h": 273,
    "s": 69.767,
    "l": 16.863
  },
  "oklch": {
    "l": 0.25115,
    "c": 0.10502,
    "h": 304.9
  },
  "luminance": 0.0135
}

Semantic roles & 50–950 ramp

primary
#2E0D49
secondary
#55842D
accent
#ED3B8B
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#070209
muted
#7A787B

Preview Lab

Preview with #2E0D49

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

Preview Lab → · Contrast checker → · Palette generator →

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