#2E0A46#2E0A46

#2E0A46 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.5% C 0.105 H 307.4°. Best body text is #FFFFFF at 16.83:1 contrast (WCAG AA passes).

Color values

HEX#2E0A46
RGBrgb(46, 10, 70)
HSLhsl(276, 75%, 16%)
HSVhsv(276, 86%, 27%)
CMYKcmyk(34.3%, 85.7%, 0%, 72.5%)
CIE-LABlab(10.85, 29.73, -29.43)
CIE-LCHlch(10.85, 41.83, 315.29°)
OKLaboklab(24.49% 0.064 -0.0836)
OKLCHoklch(24.49% 0.105 307.4)
XYZxyz(2.3405, 1.2402, 5.9092)
Luminance0.0124 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0A46 #22460A
analogous
#100A46 #2E0A46 #460A40
triadic
#2E0A46 #462E0A #0A462E
tetradic
#2E0A46 #46100A #22460A #0A4046
square
#2E0A46 #46100A #22460A #0A4046
split-complementary
#2E0A46 #40460A #0A4610
monochromatic
#12041B #12041B #2E0A46 #51127C #7419B1

Accessibility & contrast

On white

16.83
#2E0A46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#2E0A46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E0A46
16.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0A46#FFFFFF#000000##FFFFFF
##2E0A461.0016.831.2516.83
#FFFFFF16.831.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C48
Deuteranopia (green-blind)
#001D45
Tritanopia (blue-blind)
#2A1928
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2e0a46;
/* rgb */ color: rgb(46, 10, 70);
/* oklch */ color: oklch(24.5% 0.105 307.4);
Tailwind
colors: {
  custom: {
    50: '#6a4e7a',
    500: '#2e0a46',
    950: '#000000',
  },
}
SCSS
$custom: #2e0a46;
$custom-light: #6a4e7a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0a46",
  "rgb": {
    "r": 46,
    "g": 10,
    "b": 70
  },
  "hsl": {
    "h": 276,
    "s": 75,
    "l": 15.686
  },
  "oklch": {
    "l": 0.24489,
    "c": 0.10532,
    "h": 307.4
  },
  "luminance": 0.0124
}

Semantic roles & 50–950 ramp

primary
#2E0A46
secondary
#4D8329
accent
#F23681
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070209
muted
#7A787B

Preview Lab

Preview with #2E0A46

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

Preview Lab → · Contrast checker → · Palette generator →

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