#2E0E50#2E0E50

#2E0E50 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.9% C 0.112 H 300.7°. Best body text is #FFFFFF at 16.22:1 contrast (WCAG AA passes).

Color values

HEX#2E0E50
RGBrgb(46, 14, 80)
HSLhsl(269, 70%, 18%)
HSVhsv(269, 83%, 31%)
CMYKcmyk(42.5%, 82.5%, 0%, 68.6%)
CIE-LABlab(12.44, 30.55, -33.77)
CIE-LCHlch(12.44, 45.54, 312.14°)
OKLaboklab(25.9% 0.0572 -0.0964)
OKLCHoklch(25.9% 0.112 300.7)
XYZxyz(2.7314, 1.4741, 7.7285)
Luminance0.0147 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0E50 #30500E
analogous
#0E0F50 #2E0E50 #4F0E50
triadic
#2E0E50 #502E0E #0E502E
tetradic
#2E0E50 #500E0F #30500E #0E504F
square
#2E0E50 #500E0F #30500E #0E504F
split-complementary
#2E0E50 #504F0E #0F500E
monochromatic
#0F051A #10051C #2E0E50 #4C1784 #6A20B8

Accessibility & contrast

On white

16.22
#2E0E50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E0E50
16.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0E50#FFFFFF#000000##FFFFFF
##2E0E501.0016.221.2916.22
#FFFFFF16.221.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.221.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: #2e0e50;
/* rgb */ color: rgb(46, 14, 80);
/* oklch */ color: oklch(25.9% 0.112 300.7);
Tailwind
colors: {
  custom: {
    50: '#6b5082',
    500: '#2e0e50',
    950: '#000000',
  },
}
SCSS
$custom: #2e0e50;
$custom-light: #6b5082;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0e50",
  "rgb": {
    "r": 46,
    "g": 14,
    "b": 80
  },
  "hsl": {
    "h": 269.091,
    "s": 70.213,
    "l": 18.431
  },
  "oklch": {
    "l": 0.25898,
    "c": 0.11212,
    "h": 300.7
  },
  "luminance": 0.01474
}

Semantic roles & 50–950 ramp

primary
#2E0E50
secondary
#5E8B2F
accent
#ED3B97
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#07020A
muted
#7A787C

Preview Lab

Preview with #2E0E50

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

Preview Lab → · Contrast checker → · Palette generator →

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