#2E0B41#2E0B41

#2E0B41 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.2% C 0.098 H 310.6°. Best body text is #FFFFFF at 16.93:1 contrast (WCAG AA passes).

Color values

HEX#2E0B41
RGBrgb(46, 11, 65)
HSLhsl(279, 71%, 15%)
HSVhsv(279, 83%, 25%)
CMYKcmyk(29.2%, 83.1%, 0%, 74.5%)
CIE-LABlab(10.57, 27.97, -26.36)
CIE-LCHlch(10.57, 38.43, 316.70°)
OKLaboklab(24.15% 0.064 -0.0746)
OKLCHoklch(24.15% 0.098 310.6)
XYZxyz(2.2003, 1.2019, 5.1161)
Luminance0.0120 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0B41 #1E410B
analogous
#130B41 #2E0B41 #410B39
triadic
#2E0B41 #412E0B #0B412E
tetradic
#2E0B41 #41130B #1E410B #0B3941
square
#2E0B41 #41130B #1E410B #0B3941
split-complementary
#2E0B41 #39410B #0B4113
monochromatic
#13041A #13041A #2E0B41 #531475 #781DAA

Accessibility & contrast

On white

16.93
#2E0B41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E0B41
16.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0B41#FFFFFF#000000##FFFFFF
##2E0B411.0016.931.2416.93
#FFFFFF16.931.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B43
Deuteranopia (green-blind)
#031D40
Tritanopia (blue-blind)
#2B1725
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2e0b41;
/* rgb */ color: rgb(46, 11, 65);
/* oklch */ color: oklch(24.2% 0.098 310.6);
Tailwind
colors: {
  custom: {
    50: '#694e76',
    500: '#2e0b41',
    950: '#000000',
  },
}
SCSS
$custom: #2e0b41;
$custom-light: #694e76;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0b41",
  "rgb": {
    "r": 46,
    "g": 11,
    "b": 65
  },
  "hsl": {
    "h": 278.889,
    "s": 71.053,
    "l": 14.902
  },
  "oklch": {
    "l": 0.24153,
    "c": 0.09833,
    "h": 310.6
  },
  "luminance": 0.01202
}

Semantic roles & 50–950 ramp

primary
#2E0B41
secondary
#487E2A
accent
#EE3A79
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #2E0B41

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

Preview Lab → · Contrast checker → · Palette generator →

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