#2E0B45#2E0B45

#2E0B45 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.5% C 0.103 H 307.9°. Best body text is #FFFFFF at 16.80:1 contrast (WCAG AA passes).

Color values

HEX#2E0B45
RGBrgb(46, 11, 69)
HSLhsl(276, 73%, 16%)
HSVhsv(276, 84%, 27%)
CMYKcmyk(33.3%, 84.1%, 0%, 72.9%)
CIE-LABlab(10.92, 29.01, -28.61)
CIE-LCHlch(10.92, 40.75, 315.39°)
OKLaboklab(24.51% 0.0632 -0.0813)
OKLCHoklch(24.51% 0.103 307.9)
XYZxyz(2.3203, 1.2499, 5.7481)
Luminance0.0125 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0B45 #22450B
analogous
#110B45 #2E0B45 #450B3F
triadic
#2E0B45 #452E0B #0B452E
tetradic
#2E0B45 #45110B #22450B #0B3F45
square
#2E0B45 #45110B #22450B #0B3F45
split-complementary
#2E0B45 #3F450B #0B4511
monochromatic
#12041A #12041A #2E0B45 #51137A #741CAF

Accessibility & contrast

On white

16.80
#2E0B45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#2E0B45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E0B45
16.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0B45#FFFFFF#000000##FFFFFF
##2E0B451.0016.801.2516.80
#FFFFFF16.801.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C47
Deuteranopia (green-blind)
#001E44
Tritanopia (blue-blind)
#2A1927
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2e0b45;
/* rgb */ color: rgb(46, 11, 69);
/* oklch */ color: oklch(24.5% 0.103 307.9);
Tailwind
colors: {
  custom: {
    50: '#6a4e79',
    500: '#2e0b45',
    950: '#000000',
  },
}
SCSS
$custom: #2e0b45;
$custom-light: #6a4e79;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0b45",
  "rgb": {
    "r": 46,
    "g": 11,
    "b": 69
  },
  "hsl": {
    "h": 276.207,
    "s": 72.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.2451,
    "c": 0.10293,
    "h": 307.9
  },
  "luminance": 0.0125
}

Semantic roles & 50–950 ramp

primary
#2E0B45
secondary
#4D812A
accent
#EF3981
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070209
muted
#7A787B

Preview Lab

Preview with #2E0B45

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

Preview Lab → · Contrast checker → · Palette generator →

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