#2E0346#2E0346

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

Color values

HEX#2E0346
RGBrgb(46, 3, 70)
HSLhsl(279, 92%, 14%)
HSVhsv(279, 96%, 27%)
CMYKcmyk(34.3%, 95.7%, 0%, 72.5%)
CIE-LABlab(9.71, 33.07, -31.29)
CIE-LCHlch(9.71, 45.53, 316.58°)
OKLaboklab(23.69% 0.0716 -0.089)
OKLCHoklch(23.69% 0.114 308.8)
XYZxyz(2.2645, 1.0882, 5.8839)
Luminance0.0109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0346 #1B4603
analogous
#0C0346 #2E0346 #46033D
triadic
#2E0346 #462E03 #03462E
tetradic
#2E0346 #460C03 #1B4603 #033D46
square
#2E0346 #460C03 #1B4603 #033D46
split-complementary
#2E0346 #3D4603 #03460C
monochromatic
#13011D #13011D #2E0346 #550681 #7B08BB

Accessibility & contrast

On white

17.25
#2E0346 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E0346
17.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0346#FFFFFF#000000##FFFFFF
##2E03461.0017.251.2217.25
#FFFFFF17.251.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001948
Deuteranopia (green-blind)
#001B45
Tritanopia (blue-blind)
#2A1526
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2e0346;
/* rgb */ color: rgb(46, 3, 70);
/* oklch */ color: oklch(23.7% 0.114 308.8);
Tailwind
colors: {
  custom: {
    50: '#6b4a7a',
    500: '#2e0346',
    950: '#000000',
  },
}
SCSS
$custom: #2e0346;
$custom-light: #6b4a7a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0346",
  "rgb": {
    "r": 46,
    "g": 3,
    "b": 70
  },
  "hsl": {
    "h": 278.507,
    "s": 91.781,
    "l": 14.314
  },
  "oklch": {
    "l": 0.23692,
    "c": 0.11426,
    "h": 308.8
  },
  "luminance": 0.01088
}

Semantic roles & 50–950 ramp

primary
#2E0346
secondary
#43871D
accent
#FF2976
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070109
muted
#7A777B

Preview Lab

Preview with #2E0346

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

Preview Lab → · Contrast checker → · Palette generator →

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