#2E0347#2E0347

#2E0347 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.8% C 0.115 H 308.2°. Best body text is #FFFFFF at 17.21:1 contrast (WCAG AA passes).

Color values

HEX#2E0347
RGBrgb(46, 3, 71)
HSLhsl(278, 92%, 15%)
HSVhsv(278, 96%, 28%)
CMYKcmyk(35.2%, 95.8%, 0%, 72.2%)
CIE-LABlab(9.81, 33.32, -31.83)
CIE-LCHlch(9.81, 46.08, 316.30°)
OKLaboklab(23.79% 0.0712 -0.0906)
OKLCHoklch(23.79% 0.115 308.2)
XYZxyz(2.2964, 1.1009, 6.0515)
Luminance0.0110 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0347 #1C4703
analogous
#0C0347 #2E0347 #47033E
triadic
#2E0347 #472E03 #03472E
tetradic
#2E0347 #470C03 #1C4703 #033E47
square
#2E0347 #470C03 #1C4703 #033E47
split-complementary
#2E0347 #3E4703 #03470C
monochromatic
#13011D #13011D #2E0347 #540582 #7A08BC

Accessibility & contrast

On white

17.21
#2E0347 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E0347
17.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0347#FFFFFF#000000##FFFFFF
##2E03471.0017.211.2217.21
#FFFFFF17.211.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e0347;
/* rgb */ color: rgb(46, 3, 71);
/* oklch */ color: oklch(23.8% 0.115 308.2);
Tailwind
colors: {
  custom: {
    50: '#6b4a7b',
    500: '#2e0347',
    950: '#000000',
  },
}
SCSS
$custom: #2e0347;
$custom-light: #6b4a7b;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0347",
  "rgb": {
    "r": 46,
    "g": 3,
    "b": 71
  },
  "hsl": {
    "h": 277.941,
    "s": 91.892,
    "l": 14.51
  },
  "oklch": {
    "l": 0.23792,
    "c": 0.11526,
    "h": 308.2
  },
  "luminance": 0.01101
}

Semantic roles & 50–950 ramp

primary
#2E0347
secondary
#45881E
accent
#FF2978
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#070109
muted
#7A777B

Preview Lab

Preview with #2E0347

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

Preview Lab → · Contrast checker → · Palette generator →

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