#2E0B47#2E0B47

#2E0B47 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.7% C 0.105 H 306.6°. Best body text is #FFFFFF at 16.73:1 contrast (WCAG AA passes).

Color values

HEX#2E0B47
RGBrgb(46, 11, 71)
HSLhsl(275, 73%, 16%)
HSVhsv(275, 85%, 28%)
CMYKcmyk(35.2%, 84.5%, 0%, 72.2%)
CIE-LABlab(11.10, 29.54, -29.72)
CIE-LCHlch(11.10, 41.90, 314.82°)
OKLaboklab(24.69% 0.0627 -0.0845)
OKLCHoklch(24.69% 0.105 306.6)
XYZxyz(2.3835, 1.2751, 6.0806)
Luminance0.0127 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0B47 #24470B
analogous
#100B47 #2E0B47 #470B42
triadic
#2E0B47 #472E0B #0B472E
tetradic
#2E0B47 #47100B #24470B #0B4247
square
#2E0B47 #47100B #24470B #0B4247
split-complementary
#2E0B47 #42470B #0B4710
monochromatic
#11041A #11041A #2E0B47 #50137C #731BB1

Accessibility & contrast

On white

16.73
#2E0B47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E0B47
16.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0B47#FFFFFF#000000##FFFFFF
##2E0B471.0016.731.2516.73
#FFFFFF16.731.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D49
Deuteranopia (green-blind)
#001E46
Tritanopia (blue-blind)
#2A1A28
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2e0b47;
/* rgb */ color: rgb(46, 11, 71);
/* oklch */ color: oklch(24.7% 0.105 306.6);
Tailwind
colors: {
  custom: {
    50: '#6a4e7b',
    500: '#2e0b47',
    950: '#000000',
  },
}
SCSS
$custom: #2e0b47;
$custom-light: #6a4e7b;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0b47",
  "rgb": {
    "r": 46,
    "g": 11,
    "b": 71
  },
  "hsl": {
    "h": 275,
    "s": 73.171,
    "l": 16.078
  },
  "oklch": {
    "l": 0.24693,
    "c": 0.10524,
    "h": 306.6
  },
  "luminance": 0.01275
}

Semantic roles & 50–950 ramp

primary
#2E0B47
secondary
#4F832A
accent
#F03885
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#070209
muted
#7A787B

Preview Lab

Preview with #2E0B47

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

Preview Lab → · Contrast checker → · Palette generator →

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