#2E0E5D#2E0E5D

#2E0E5D is a dark, vivid violet. Relative luminance 0.017; OKLCH L 27.2% C 0.128 H 294.6°. Best body text is #FFFFFF at 15.71:1 contrast (WCAG AA passes).

Color values

HEX#2E0E5D
RGBrgb(46, 14, 93)
HSLhsl(264, 74%, 21%)
HSVhsv(264, 85%, 36%)
CMYKcmyk(50.5%, 84.9%, 0%, 63.5%)
CIE-LABlab(13.74, 34.25, -40.46)
CIE-LCHlch(13.74, 53.01, 310.25°)
OKLaboklab(27.2% 0.053 -0.1161)
OKLCHoklch(27.2% 0.128 294.6)
XYZxyz(3.2590, 1.6851, 10.5074)
Luminance0.0169 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0E5D #3D5D0E
analogous
#0E155D #2E0E5D #550E5D
triadic
#2E0E5D #5D2E0E #0E5D2E
tetradic
#2E0E5D #5D0E15 #3D5D0E #0E5D55
square
#2E0E5D #5D0E15 #3D5D0E #0E5D55
split-complementary
#2E0E5D #5D550E #155D0E
monochromatic
#0D041B #140628 #2E0E5D #481692 #631EC7

Accessibility & contrast

On white

15.71
#2E0E5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#2E0E5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E0E5D
15.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0E5D#FFFFFF#000000##FFFFFF
##2E0E5D1.0015.711.3415.71
#FFFFFF15.711.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00245F
Deuteranopia (green-blind)
#00225C
Tritanopia (blue-blind)
#202536
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #2e0e5d;
/* rgb */ color: rgb(46, 14, 93);
/* oklch */ color: oklch(27.2% 0.128 294.6);
Tailwind
colors: {
  custom: {
    50: '#6d518c',
    500: '#2e0e5d',
    950: '#000000',
  },
}
SCSS
$custom: #2e0e5d;
$custom-light: #6d518c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0e5d",
  "rgb": {
    "r": 46,
    "g": 14,
    "b": 93
  },
  "hsl": {
    "h": 264.304,
    "s": 73.832,
    "l": 20.98
  },
  "oklch": {
    "l": 0.27203,
    "c": 0.12761,
    "h": 294.6
  },
  "luminance": 0.01685
}

Semantic roles & 50–950 ramp

primary
#2E0E5D
secondary
#6D9730
accent
#F037A5
background
#F6F4F8
surface
#ECE7F0
border
#C7C3CB
text
#07020C
muted
#7A787D

Preview Lab

Preview with #2E0E5D

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

Preview Lab → · Contrast checker → · Palette generator →

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