#2E0447#2E0447

#2E0447 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.9% C 0.114 H 308.0°. Best body text is #FFFFFF at 17.15:1 contrast (WCAG AA passes).

Color values

HEX#2E0447
RGBrgb(46, 4, 71)
HSLhsl(278, 89%, 15%)
HSVhsv(278, 94%, 28%)
CMYKcmyk(35.2%, 94.4%, 0%, 72.2%)
CIE-LABlab(9.97, 32.82, -31.56)
CIE-LCHlch(9.97, 45.53, 316.12°)
OKLaboklab(23.91% 0.0701 -0.0898)
OKLCHoklch(23.91% 0.114 308)
XYZxyz(2.3072, 1.1226, 6.0552)
Luminance0.0112 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0447 #1D4704
analogous
#0D0447 #2E0447 #47043F
triadic
#2E0447 #472E04 #04472E
tetradic
#2E0447 #470D04 #1D4704 #043F47
square
#2E0447 #470D04 #1D4704 #043F47
split-complementary
#2E0447 #3F4704 #04470D
monochromatic
#13021D #13021D #2E0447 #540781 #790BBB

Accessibility & contrast

On white

17.15
#2E0447 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#2E0447 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E0447
17.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0447#FFFFFF#000000##FFFFFF
##2E04471.0017.151.2217.15
#FFFFFF17.151.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A49
Deuteranopia (green-blind)
#001C46
Tritanopia (blue-blind)
#2A1627
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2e0447;
/* rgb */ color: rgb(46, 4, 71);
/* oklch */ color: oklch(23.9% 0.114 308.0);
Tailwind
colors: {
  custom: {
    50: '#6b4b7b',
    500: '#2e0447',
    950: '#000000',
  },
}
SCSS
$custom: #2e0447;
$custom-light: #6b4b7b;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0447",
  "rgb": {
    "r": 46,
    "g": 4,
    "b": 71
  },
  "hsl": {
    "h": 277.612,
    "s": 89.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.23908,
    "c": 0.11394,
    "h": 308
  },
  "luminance": 0.01123
}

Semantic roles & 50–950 ramp

primary
#2E0447
secondary
#46881F
accent
#FF2979
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#070109
muted
#7A777B

Preview Lab

Preview with #2E0447

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

Preview Lab → · Contrast checker → · Palette generator →

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