#2E0E55#2E0E55

#2E0E55 is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.4% C 0.118 H 298.1°. Best body text is #FFFFFF at 16.03:1 contrast (WCAG AA passes).

Color values

HEX#2E0E55
RGBrgb(46, 14, 85)
HSLhsl(267, 72%, 19%)
HSVhsv(267, 84%, 33%)
CMYKcmyk(45.9%, 83.5%, 0%, 66.7%)
CIE-LABlab(12.93, 31.97, -36.39)
CIE-LCHlch(12.93, 48.44, 311.29°)
OKLaboklab(26.39% 0.0557 -0.1041)
OKLCHoklch(26.39% 0.118 298.1)
XYZxyz(2.9230, 1.5507, 8.7379)
Luminance0.0155 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0E55 #35550E
analogous
#0E1255 #2E0E55 #520E55
triadic
#2E0E55 #552E0E #0E552E
tetradic
#2E0E55 #550E12 #35550E #0E5552
square
#2E0E55 #550E12 #35550E #0E5552
split-complementary
#2E0E55 #55520E #12550E
monochromatic
#0E041A #120520 #2E0E55 #4A178A #671FBE

Accessibility & contrast

On white

16.03
#2E0E55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#2E0E55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E0E55
16.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0E55#FFFFFF#000000##FFFFFF
##2E0E551.0016.031.3116.03
#FFFFFF16.031.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002157
Deuteranopia (green-blind)
#002154
Tritanopia (blue-blind)
#242131
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #2e0e55;
/* rgb */ color: rgb(46, 14, 85);
/* oklch */ color: oklch(26.4% 0.118 298.1);
Tailwind
colors: {
  custom: {
    50: '#6c5186',
    500: '#2e0e55',
    950: '#000000',
  },
}
SCSS
$custom: #2e0e55;
$custom-light: #6c5186;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0e55",
  "rgb": {
    "r": 46,
    "g": 14,
    "b": 85
  },
  "hsl": {
    "h": 267.042,
    "s": 71.717,
    "l": 19.412
  },
  "oklch": {
    "l": 0.26387,
    "c": 0.1181,
    "h": 298.1
  },
  "luminance": 0.01551
}

Semantic roles & 50–950 ramp

primary
#2E0E55
secondary
#648F30
accent
#EE399D
background
#F6F4F8
surface
#ECE7EF
border
#C7C3CA
text
#07020B
muted
#7A787C

Preview Lab

Preview with #2E0E55

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

Preview Lab → · Contrast checker → · Palette generator →

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