#2E0A49#2E0A49

#2E0A49 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.8% C 0.109 H 305.5°. Best body text is #FFFFFF at 16.72:1 contrast (WCAG AA passes).

Color values

HEX#2E0A49
RGBrgb(46, 10, 73)
HSLhsl(274, 76%, 16%)
HSVhsv(274, 86%, 29%)
CMYKcmyk(37%, 86.3%, 0%, 71.4%)
CIE-LABlab(11.13, 30.52, -31.07)
CIE-LCHlch(11.13, 43.55, 314.49°)
OKLaboklab(24.77% 0.0632 -0.0885)
OKLCHoklch(24.77% 0.109 305.5)
XYZxyz(2.4376, 1.2790, 6.4205)
Luminance0.0128 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0A49 #25490A
analogous
#0F0A49 #2E0A49 #490A45
triadic
#2E0A49 #492E0A #0A492E
tetradic
#2E0A49 #490F0A #25490A #0A4549
square
#2E0A49 #490F0A #25490A #0A4549
split-complementary
#2E0A49 #45490A #0A490F
monochromatic
#11041B #11041B #2E0A49 #50117F #7219B5

Accessibility & contrast

On white

16.72
#2E0A49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#2E0A49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E0A49
16.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0A49#FFFFFF#000000##FFFFFF
##2E0A491.0016.721.2616.72
#FFFFFF16.721.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D4B
Deuteranopia (green-blind)
#001E48
Tritanopia (blue-blind)
#291A29
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2e0a49;
/* rgb */ color: rgb(46, 10, 73);
/* oklch */ color: oklch(24.8% 0.109 305.5);
Tailwind
colors: {
  custom: {
    50: '#6a4e7c',
    500: '#2e0a49',
    950: '#000000',
  },
}
SCSS
$custom: #2e0a49;
$custom-light: #6a4e7c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0a49",
  "rgb": {
    "r": 46,
    "g": 10,
    "b": 73
  },
  "hsl": {
    "h": 274.286,
    "s": 75.904,
    "l": 16.275
  },
  "oklch": {
    "l": 0.2477,
    "c": 0.10872,
    "h": 305.5
  },
  "luminance": 0.01279
}

Semantic roles & 50–950 ramp

primary
#2E0A49
secondary
#518629
accent
#F23586
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#070209
muted
#7A787B

Preview Lab

Preview with #2E0A49

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

Preview Lab → · Contrast checker → · Palette generator →

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