#2E0D50#2E0D50

#2E0D50 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.8% C 0.113 H 300.9°. Best body text is #FFFFFF at 16.28:1 contrast (WCAG AA passes).

Color values

HEX#2E0D50
RGBrgb(46, 13, 80)
HSLhsl(270, 72%, 18%)
HSVhsv(270, 84%, 31%)
CMYKcmyk(42.5%, 83.7%, 0%, 68.6%)
CIE-LABlab(12.27, 31.04, -34.05)
CIE-LCHlch(12.27, 46.07, 312.35°)
OKLaboklab(25.78% 0.0582 -0.0972)
OKLCHoklch(25.78% 0.113 300.9)
XYZxyz(2.7182, 1.4479, 7.7241)
Luminance0.0145 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0D50 #2F500D
analogous
#0D0E50 #2E0D50 #4F0D50
triadic
#2E0D50 #502E0D #0D502E
tetradic
#2E0D50 #500D0E #2F500D #0D504F
square
#2E0D50 #500D0E #2F500D #0D504F
split-complementary
#2E0D50 #504F0D #0E500D
monochromatic
#0F041A #10041B #2E0D50 #4C1685 #6B1EB9

Accessibility & contrast

On white

16.28
#2E0D50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#2E0D50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E0D50
16.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0D50#FFFFFF#000000##FFFFFF
##2E0D501.0016.281.2916.28
#FFFFFF16.281.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002052
Deuteranopia (green-blind)
#00204F
Tritanopia (blue-blind)
#261F2E
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #2e0d50;
/* rgb */ color: rgb(46, 13, 80);
/* oklch */ color: oklch(25.8% 0.113 300.9);
Tailwind
colors: {
  custom: {
    50: '#6b5082',
    500: '#2e0d50',
    950: '#000000',
  },
}
SCSS
$custom: #2e0d50;
$custom-light: #6b5082;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0d50",
  "rgb": {
    "r": 46,
    "g": 13,
    "b": 80
  },
  "hsl": {
    "h": 269.552,
    "s": 72.043,
    "l": 18.235
  },
  "oklch": {
    "l": 0.25779,
    "c": 0.11332,
    "h": 300.9
  },
  "luminance": 0.01448
}

Semantic roles & 50–950 ramp

primary
#2E0D50
secondary
#5D8B2E
accent
#EF3995
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#07020A
muted
#7A787C

Preview Lab

Preview with #2E0D50

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

Preview Lab → · Contrast checker → · Palette generator →

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