#2E1441#2E1441

#2E1441 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.4% C 0.084 H 308.2°. Best body text is #FFFFFF at 16.25:1 contrast (WCAG AA passes).

Color values

HEX#2E1441
RGBrgb(46, 20, 65)
HSLhsl(275, 53%, 17%)
HSVhsv(275, 69%, 25%)
CMYKcmyk(29.2%, 69.2%, 0%, 74.5%)
CIE-LABlab(12.37, 22.98, -23.46)
CIE-LCHlch(12.37, 32.84, 314.41°)
OKLaboklab(25.44% 0.052 -0.0662)
OKLCHoklch(25.44% 0.084 308.2)
XYZxyz(2.3308, 1.4628, 5.1596)
Luminance0.0146 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1441 #274114
analogous
#181441 #2E1441 #41143E
triadic
#2E1441 #412E14 #14412E
tetradic
#2E1441 #411814 #274114 #143E41
square
#2E1441 #411814 #274114 #143E41
split-complementary
#2E1441 #3E4114 #144118
monochromatic
#110717 #110717 #2E1441 #4F2270 #70319F

Accessibility & contrast

On white

16.25
#2E1441 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#2E1441 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E1441
16.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1441#FFFFFF#000000##FFFFFF
##2E14411.0016.251.2916.25
#FFFFFF16.251.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021F42
Deuteranopia (green-blind)
#0D2140
Tritanopia (blue-blind)
#2B1D28
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #2e1441;
/* rgb */ color: rgb(46, 20, 65);
/* oklch */ color: oklch(25.4% 0.084 308.2);
Tailwind
colors: {
  custom: {
    50: '#695376',
    500: '#2e1441',
    950: '#000000',
  },
}
SCSS
$custom: #2e1441;
$custom-light: #695376;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1441",
  "rgb": {
    "r": 46,
    "g": 20,
    "b": 65
  },
  "hsl": {
    "h": 274.667,
    "s": 52.941,
    "l": 16.667
  },
  "oklch": {
    "l": 0.25444,
    "c": 0.08419,
    "h": 308.2
  },
  "luminance": 0.01463
}

Semantic roles & 50–950 ramp

primary
#2E1441
secondary
#537938
accent
#DC4B89
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #2E1441

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

Preview Lab → · Contrast checker → · Palette generator →

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