#2E0B40#2E0B40

#2E0B40 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.1% C 0.097 H 311.4°. Best body text is #FFFFFF at 16.96:1 contrast (WCAG AA passes).

Color values

HEX#2E0B40
RGBrgb(46, 11, 64)
HSLhsl(280, 71%, 15%)
HSVhsv(280, 83%, 25%)
CMYKcmyk(28.1%, 82.8%, 0%, 74.9%)
CIE-LABlab(10.49, 27.71, -25.79)
CIE-LCHlch(10.49, 37.85, 317.06°)
OKLaboklab(24.07% 0.0642 -0.0729)
OKLCHoklch(24.07% 0.097 311.4)
XYZxyz(2.1716, 1.1904, 4.9649)
Luminance0.0119 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0B40 #1D400B
analogous
#140B40 #2E0B40 #400B38
triadic
#2E0B40 #402E0B #0B402E
tetradic
#2E0B40 #40140B #1D400B #0B3840
square
#2E0B40 #40140B #1D400B #0B3840
split-complementary
#2E0B40 #38400B #0B4014
monochromatic
#13041A #13041A #2E0B40 #541474 #791DA8

Accessibility & contrast

On white

16.96
#2E0B40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#2E0B40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E0B40
16.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0B40#FFFFFF#000000##FFFFFF
##2E0B401.0016.961.2416.96
#FFFFFF16.961.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B42
Deuteranopia (green-blind)
#041D3F
Tritanopia (blue-blind)
#2C1724
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2e0b40;
/* rgb */ color: rgb(46, 11, 64);
/* oklch */ color: oklch(24.1% 0.097 311.4);
Tailwind
colors: {
  custom: {
    50: '#694e75',
    500: '#2e0b40',
    950: '#000000',
  },
}
SCSS
$custom: #2e0b40;
$custom-light: #694e75;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0b40",
  "rgb": {
    "r": 46,
    "g": 11,
    "b": 64
  },
  "hsl": {
    "h": 279.623,
    "s": 70.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.24066,
    "c": 0.09719,
    "h": 311.4
  },
  "luminance": 0.0119
}

Semantic roles & 50–950 ramp

primary
#2E0B40
secondary
#467D2A
accent
#ED3A77
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #2E0B40

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

Preview Lab → · Contrast checker → · Palette generator →

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