#2E0A41#2E0A41

#2E0A41 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.0% C 0.100 H 310.8°. Best body text is #FFFFFF at 16.99:1 contrast (WCAG AA passes).

Color values

HEX#2E0A41
RGBrgb(46, 10, 65)
HSLhsl(279, 73%, 15%)
HSVhsv(279, 85%, 25%)
CMYKcmyk(29.2%, 84.6%, 0%, 74.5%)
CIE-LABlab(10.41, 28.44, -26.62)
CIE-LCHlch(10.41, 38.96, 316.89°)
OKLaboklab(24.04% 0.0652 -0.0754)
OKLCHoklch(24.04% 0.1 310.8)
XYZxyz(2.1892, 1.1796, 5.1124)
Luminance0.0118 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0A41 #1D410A
analogous
#130A41 #2E0A41 #410A39
triadic
#2E0A41 #412E0A #0A412E
tetradic
#2E0A41 #41130A #1D410A #0A3941
square
#2E0A41 #41130A #1D410A #0A3941
split-complementary
#2E0A41 #39410A #0A4113
monochromatic
#13041B #13041B #2E0A41 #541276 #791AAB

Accessibility & contrast

On white

16.99
#2E0A41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E0A41
16.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0A41#FFFFFF#000000##FFFFFF
##2E0A411.0016.991.2416.99
#FFFFFF16.991.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e0a41;
/* rgb */ color: rgb(46, 10, 65);
/* oklch */ color: oklch(24.0% 0.100 310.8);
Tailwind
colors: {
  custom: {
    50: '#694d76',
    500: '#2e0a41',
    950: '#000000',
  },
}
SCSS
$custom: #2e0a41;
$custom-light: #694d76;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0a41",
  "rgb": {
    "r": 46,
    "g": 10,
    "b": 65
  },
  "hsl": {
    "h": 279.273,
    "s": 73.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.24037,
    "c": 0.09966,
    "h": 310.8
  },
  "luminance": 0.0118
}

Semantic roles & 50–950 ramp

primary
#2E0A41
secondary
#467E29
accent
#F03877
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070108
muted
#7A777B

Preview Lab

Preview with #2E0A41

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

Preview Lab → · Contrast checker → · Palette generator →

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