#2E0940#2E0940

#2E0940 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.8% C 0.100 H 311.8°. Best body text is #FFFFFF at 17.08:1 contrast (WCAG AA passes).

Color values

HEX#2E0940
RGBrgb(46, 9, 64)
HSLhsl(280, 75%, 14%)
HSVhsv(280, 86%, 25%)
CMYKcmyk(28.1%, 85.9%, 0%, 74.9%)
CIE-LABlab(10.16, 28.66, -26.32)
CIE-LCHlch(10.16, 38.91, 317.43°)
OKLaboklab(23.83% 0.0665 -0.0745)
OKLCHoklch(23.83% 0.1 311.8)
XYZxyz(2.1496, 1.1464, 4.9575)
Luminance0.0115 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0940 #1B4009
analogous
#130940 #2E0940 #400937
triadic
#2E0940 #402E09 #09402E
tetradic
#2E0940 #401309 #1B4009 #093740
square
#2E0940 #401309 #1B4009 #093740
split-complementary
#2E0940 #374009 #094013
monochromatic
#13041B #13041B #2E0940 #551176 #7B18AB

Accessibility & contrast

On white

17.08
#2E0940 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E0940
17.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0940#FFFFFF#000000##FFFFFF
##2E09401.0017.081.2317.08
#FFFFFF17.081.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A42
Deuteranopia (green-blind)
#021C3F
Tritanopia (blue-blind)
#2C1624
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2e0940;
/* rgb */ color: rgb(46, 9, 64);
/* oklch */ color: oklch(23.8% 0.100 311.8);
Tailwind
colors: {
  custom: {
    50: '#694d75',
    500: '#2e0940',
    950: '#000000',
  },
}
SCSS
$custom: #2e0940;
$custom-light: #694d75;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0940",
  "rgb": {
    "r": 46,
    "g": 9,
    "b": 64
  },
  "hsl": {
    "h": 280.364,
    "s": 75.342,
    "l": 14.314
  },
  "oklch": {
    "l": 0.23833,
    "c": 0.09986,
    "h": 311.8
  },
  "luminance": 0.01146
}

Semantic roles & 50–950 ramp

primary
#2E0940
secondary
#437E27
accent
#F23673
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070108
muted
#7A777B

Preview Lab

Preview with #2E0940

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

Preview Lab → · Contrast checker → · Palette generator →

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