#2E0941#2E0941

#2E0941 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 23.9% C 0.101 H 311.0°. Best body text is #FFFFFF at 17.05:1 contrast (WCAG AA passes).

Color values

HEX#2E0941
RGBrgb(46, 9, 65)
HSLhsl(280, 76%, 15%)
HSVhsv(280, 86%, 25%)
CMYKcmyk(29.2%, 86.2%, 0%, 74.5%)
CIE-LABlab(10.24, 28.91, -26.89)
CIE-LCHlch(10.24, 39.48, 317.07°)
OKLaboklab(23.92% 0.0663 -0.0762)
OKLCHoklch(23.92% 0.101 311)
XYZxyz(2.1784, 1.1579, 5.1088)
Luminance0.0116 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0941 #1C4109
analogous
#120941 #2E0941 #410938
triadic
#2E0941 #412E09 #09412E
tetradic
#2E0941 #411209 #1C4109 #093841
square
#2E0941 #411209 #1C4109 #093841
split-complementary
#2E0941 #384109 #094112
monochromatic
#13041B #13041B #2E0941 #541077 #7A18AD

Accessibility & contrast

On white

17.05
#2E0941 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#2E0941 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E0941
17.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0941#FFFFFF#000000##FFFFFF
##2E09411.0017.051.2317.05
#FFFFFF17.051.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A43
Deuteranopia (green-blind)
#011D40
Tritanopia (blue-blind)
#2B1625
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2e0941;
/* rgb */ color: rgb(46, 9, 65);
/* oklch */ color: oklch(23.9% 0.101 311.0);
Tailwind
colors: {
  custom: {
    50: '#6a4d76',
    500: '#2e0941',
    950: '#000000',
  },
}
SCSS
$custom: #2e0941;
$custom-light: #6a4d76;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0941",
  "rgb": {
    "r": 46,
    "g": 9,
    "b": 65
  },
  "hsl": {
    "h": 279.643,
    "s": 75.676,
    "l": 14.51
  },
  "oklch": {
    "l": 0.23922,
    "c": 0.10098,
    "h": 311
  },
  "luminance": 0.01158
}

Semantic roles & 50–950 ramp

primary
#2E0941
secondary
#457F27
accent
#F23676
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070108
muted
#7A777B

Preview Lab

Preview with #2E0941

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

Preview Lab → · Contrast checker → · Palette generator →

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