#2E0B44#2E0B44

#2E0B44 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.4% C 0.102 H 308.5°. Best body text is #FFFFFF at 16.83:1 contrast (WCAG AA passes).

Color values

HEX#2E0B44
RGBrgb(46, 11, 68)
HSLhsl(277, 72%, 15%)
HSVhsv(277, 84%, 27%)
CMYKcmyk(32.4%, 83.8%, 0%, 73.3%)
CIE-LABlab(10.83, 28.75, -28.05)
CIE-LCHlch(10.83, 40.17, 315.70°)
OKLaboklab(24.42% 0.0634 -0.0796)
OKLCHoklch(24.42% 0.102 308.5)
XYZxyz(2.2896, 1.2376, 5.5860)
Luminance0.0124 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0B44 #21440B
analogous
#110B44 #2E0B44 #440B3D
triadic
#2E0B44 #442E0B #0B442E
tetradic
#2E0B44 #44110B #21440B #0B3D44
square
#2E0B44 #44110B #21440B #0B3D44
split-complementary
#2E0B44 #3D440B #0B4411
monochromatic
#12041A #12041A #2E0B44 #521479 #751CAD

Accessibility & contrast

On white

16.83
#2E0B44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E0B44
16.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0B44#FFFFFF#000000##FFFFFF
##2E0B441.0016.831.2516.83
#FFFFFF16.831.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C46
Deuteranopia (green-blind)
#001E43
Tritanopia (blue-blind)
#2B1927
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2e0b44;
/* rgb */ color: rgb(46, 11, 68);
/* oklch */ color: oklch(24.4% 0.102 308.5);
Tailwind
colors: {
  custom: {
    50: '#6a4e78',
    500: '#2e0b44',
    950: '#000000',
  },
}
SCSS
$custom: #2e0b44;
$custom-light: #6a4e78;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0b44",
  "rgb": {
    "r": 46,
    "g": 11,
    "b": 68
  },
  "hsl": {
    "h": 276.842,
    "s": 72.152,
    "l": 15.49
  },
  "oklch": {
    "l": 0.2442,
    "c": 0.10178,
    "h": 308.5
  },
  "luminance": 0.01238
}

Semantic roles & 50–950 ramp

primary
#2E0B44
secondary
#4C812A
accent
#EF397F
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070209
muted
#7A787B

Preview Lab

Preview with #2E0B44

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

Preview Lab → · Contrast checker → · Palette generator →

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