#2E1D80#2E1D80

#2E1D80 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.8% C 0.155 H 281.4°. Best body text is #FFFFFF at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#2E1D80
RGBrgb(46, 29, 128)
HSLhsl(250, 63%, 31%)
HSVhsv(250, 77%, 50%)
CMYKcmyk(64.1%, 77.3%, 0%, 49.8%)
CIE-LABlab(20.11, 37.27, -52.76)
CIE-LCHlch(20.11, 64.59, 305.24°)
OKLaboklab(32.78% 0.0307 -0.1522)
OKLCHoklch(32.78% 0.155 281.4)
XYZxyz(5.4611, 3.0177, 20.7126)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1D80 #6F801D
analogous
#1D3D80 #2E1D80 #5F1D80
triadic
#2E1D80 #802E1D #1D802E
tetradic
#2E1D80 #801D3D #6F801D #1D805F
square
#2E1D80 #801D3D #6F801D #1D805F
split-complementary
#2E1D80 #805F1D #3D801D
monochromatic
#0A061C #1C124E #2E1D80 #4028B2 #5C43D4

Accessibility & contrast

On white

13.10
#2E1D80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#2E1D80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E1D80
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1D80#FFFFFF#000000##FFFFFF
##2E1D801.0013.101.6013.10
#FFFFFF13.101.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003483
Deuteranopia (green-blind)
#002D7E
Tritanopia (blue-blind)
#00394D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2e1d80;
/* rgb */ color: rgb(46, 29, 128);
/* oklch */ color: oklch(32.8% 0.155 281.4);
Tailwind
colors: {
  custom: {
    50: '#725ba6',
    500: '#2e1d80',
    950: '#000000',
  },
}
SCSS
$custom: #2e1d80;
$custom-light: #725ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1d80",
  "rgb": {
    "r": 46,
    "g": 29,
    "b": 128
  },
  "hsl": {
    "h": 250.303,
    "s": 63.057,
    "l": 30.784
  },
  "oklch": {
    "l": 0.32775,
    "c": 0.15525,
    "h": 281.4
  },
  "luminance": 0.03018
}

Semantic roles & 50–950 ramp

primary
#2E1D80
secondary
#A0B345
accent
#E642CA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #2E1D80

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

Preview Lab → · Contrast checker → · Palette generator →

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