#2E0D48#2E0D48

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

Color values

HEX#2E0D48
RGBrgb(46, 13, 72)
HSLhsl(274, 69%, 17%)
HSVhsv(274, 82%, 28%)
CMYKcmyk(36.1%, 81.9%, 0%, 71.8%)
CIE-LABlab(11.53, 28.84, -29.72)
CIE-LCHlch(11.53, 41.42, 314.14°)
OKLaboklab(25.02% 0.0603 -0.0845)
OKLCHoklch(25.02% 0.104 305.5)
XYZxyz(2.4401, 1.3366, 6.2591)
Luminance0.0134 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0D48 #27480D
analogous
#100D48 #2E0D48 #480D45
triadic
#2E0D48 #482E0D #0D482E
tetradic
#2E0D48 #48100D #27480D #0D4548
square
#2E0D48 #48100D #27480D #0D4548
split-complementary
#2E0D48 #45480D #0D4810
monochromatic
#11051A #11051A #2E0D48 #4F167C #7020B0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E0D48#FFFFFF#000000##FFFFFF
##2E0D481.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)
#001E4A
Deuteranopia (green-blind)
#001F47
Tritanopia (blue-blind)
#291B29
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #2e0d48;
/* rgb */ color: rgb(46, 13, 72);
/* oklch */ color: oklch(25.0% 0.104 305.5);
Tailwind
colors: {
  custom: {
    50: '#6a4f7b',
    500: '#2e0d48',
    950: '#000000',
  },
}
SCSS
$custom: #2e0d48;
$custom-light: #6a4f7b;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0d48",
  "rgb": {
    "r": 46,
    "g": 13,
    "b": 72
  },
  "hsl": {
    "h": 273.559,
    "s": 69.412,
    "l": 16.667
  },
  "oklch": {
    "l": 0.25024,
    "c": 0.10383,
    "h": 305.5
  },
  "luminance": 0.01337
}

Semantic roles & 50–950 ramp

primary
#2E0D48
secondary
#53832D
accent
#EC3C89
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#070209
muted
#7A787B

Preview Lab

Preview with #2E0D48

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

Preview Lab → · Contrast checker → · Palette generator →

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