#2E0844#2E0844

#2E0844 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.1% C 0.106 H 309.1°. Best body text is #FFFFFF at 17.01:1 contrast (WCAG AA passes).

Color values

HEX#2E0844
RGBrgb(46, 8, 68)
HSLhsl(278, 79%, 15%)
HSVhsv(278, 88%, 27%)
CMYKcmyk(32.4%, 88.2%, 0%, 73.3%)
CIE-LABlab(10.35, 30.14, -28.84)
CIE-LCHlch(10.35, 41.71, 316.26°)
OKLaboklab(24.08% 0.0667 -0.0819)
OKLCHoklch(24.08% 0.106 309.1)
XYZxyz(2.2567, 1.1719, 5.5750)
Luminance0.0117 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0844 #1E4408
analogous
#100844 #2E0844 #44083C
triadic
#2E0844 #442E08 #08442E
tetradic
#2E0844 #441008 #1E4408 #083C44
square
#2E0844 #441008 #1E4408 #083C44
split-complementary
#2E0844 #3C4408 #084410
monochromatic
#13031B #13031B #2E0844 #530E7B #7815B2

Accessibility & contrast

On white

17.01
#2E0844 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E0844
17.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0844#FFFFFF#000000##FFFFFF
##2E08441.0017.011.2317.01
#FFFFFF17.011.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B46
Deuteranopia (green-blind)
#001D43
Tritanopia (blue-blind)
#2B1726
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2e0844;
/* rgb */ color: rgb(46, 8, 68);
/* oklch */ color: oklch(24.1% 0.106 309.1);
Tailwind
colors: {
  custom: {
    50: '#6a4d78',
    500: '#2e0844',
    950: '#000000',
  },
}
SCSS
$custom: #2e0844;
$custom-light: #6a4d78;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0844",
  "rgb": {
    "r": 46,
    "g": 8,
    "b": 68
  },
  "hsl": {
    "h": 278,
    "s": 78.947,
    "l": 14.902
  },
  "oklch": {
    "l": 0.2408,
    "c": 0.10559,
    "h": 309.1
  },
  "luminance": 0.01172
}

Semantic roles & 50–950 ramp

primary
#2E0844
secondary
#488226
accent
#F5327A
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070109
muted
#7A777B

Preview Lab

Preview with #2E0844

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

Preview Lab → · Contrast checker → · Palette generator →

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