#2E0B48#2E0B48

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

Color values

HEX#2E0B48
RGBrgb(46, 11, 72)
HSLhsl(274, 73%, 16%)
HSVhsv(274, 85%, 28%)
CMYKcmyk(36.1%, 84.7%, 0%, 71.8%)
CIE-LABlab(11.19, 29.80, -30.27)
CIE-LCHlch(11.19, 42.48, 314.55°)
OKLaboklab(24.79% 0.0624 -0.0861)
OKLCHoklch(24.79% 0.106 305.9)
XYZxyz(2.4158, 1.2881, 6.2510)
Luminance0.0129 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0B48 #25480B
analogous
#100B48 #2E0B48 #480B44
triadic
#2E0B48 #482E0B #0B482E
tetradic
#2E0B48 #48100B #25480B #0B4448
square
#2E0B48 #48100B #25480B #0B4448
split-complementary
#2E0B48 #44480B #0B4810
monochromatic
#11041B #11041B #2E0B48 #50137D #721BB2

Accessibility & contrast

On white

16.70
#2E0B48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E0B48
16.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0B48#FFFFFF#000000##FFFFFF
##2E0B481.0016.701.2616.70
#FFFFFF16.701.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D4A
Deuteranopia (green-blind)
#001E47
Tritanopia (blue-blind)
#291A29
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2e0b48;
/* rgb */ color: rgb(46, 11, 72);
/* oklch */ color: oklch(24.8% 0.106 305.9);
Tailwind
colors: {
  custom: {
    50: '#6a4e7b',
    500: '#2e0b48',
    950: '#000000',
  },
}
SCSS
$custom: #2e0b48;
$custom-light: #6a4e7b;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0b48",
  "rgb": {
    "r": 46,
    "g": 11,
    "b": 72
  },
  "hsl": {
    "h": 274.426,
    "s": 73.494,
    "l": 16.275
  },
  "oklch": {
    "l": 0.24786,
    "c": 0.10639,
    "h": 305.9
  },
  "luminance": 0.01288
}

Semantic roles & 50–950 ramp

primary
#2E0B48
secondary
#51842A
accent
#F03886
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#070209
muted
#7A787B

Preview Lab

Preview with #2E0B48

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

Preview Lab → · Contrast checker → · Palette generator →

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