#2E1141#2E1141

#2E1141 is a very dark, moderate violet. Relative luminance 0.014; OKLCH L 25.0% C 0.089 H 309.1°. Best body text is #FFFFFF at 16.50:1 contrast (WCAG AA passes).

Color values

HEX#2E1141
RGBrgb(46, 17, 65)
HSLhsl(276, 59%, 16%)
HSVhsv(276, 74%, 25%)
CMYKcmyk(29.2%, 73.8%, 0%, 74.5%)
CIE-LABlab(11.71, 24.78, -24.52)
CIE-LCHlch(11.71, 34.86, 315.30°)
OKLaboklab(24.97% 0.0564 -0.0693)
OKLCHoklch(24.97% 0.089 309.1)
XYZxyz(2.2811, 1.3634, 5.1430)
Luminance0.0136 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1141 #244111
analogous
#161141 #2E1141 #41113C
triadic
#2E1141 #412E11 #11412E
tetradic
#2E1141 #411611 #244111 #113C41
square
#2E1141 #411611 #244111 #113C41
split-complementary
#2E1141 #3C4111 #114116
monochromatic
#110618 #110618 #2E1141 #501E72 #732AA2

Accessibility & contrast

On white

16.50
#2E1141 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#2E1141 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E1141
16.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1141#FFFFFF#000000##FFFFFF
##2E11411.0016.501.2716.50
#FFFFFF16.501.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E42
Deuteranopia (green-blind)
#091F40
Tritanopia (blue-blind)
#2B1B27
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #2e1141;
/* rgb */ color: rgb(46, 17, 65);
/* oklch */ color: oklch(25.0% 0.089 309.1);
Tailwind
colors: {
  custom: {
    50: '#695176',
    500: '#2e1141',
    950: '#000000',
  },
}
SCSS
$custom: #2e1141;
$custom-light: #695176;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1141",
  "rgb": {
    "r": 46,
    "g": 17,
    "b": 65
  },
  "hsl": {
    "h": 276.25,
    "s": 58.537,
    "l": 16.078
  },
  "oklch": {
    "l": 0.24968,
    "c": 0.0893,
    "h": 309.1
  },
  "luminance": 0.01363
}

Semantic roles & 50–950 ramp

primary
#2E1141
secondary
#4F7B33
accent
#E24684
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #2E1141

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

Preview Lab → · Contrast checker → · Palette generator →

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