#2E0E45#2E0E45

#2E0E45 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.9% C 0.099 H 307.2°. Best body text is #FFFFFF at 16.60:1 contrast (WCAG AA passes).

Color values

HEX#2E0E45
RGBrgb(46, 14, 69)
HSLhsl(275, 66%, 16%)
HSVhsv(275, 80%, 27%)
CMYKcmyk(33.3%, 79.7%, 0%, 72.9%)
CIE-LABlab(11.45, 27.52, -27.76)
CIE-LCHlch(11.45, 39.09, 314.75°)
OKLaboklab(24.88% 0.0597 -0.0788)
OKLCHoklch(24.88% 0.099 307.2)
XYZxyz(2.3577, 1.3246, 5.7605)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0E45 #25450E
analogous
#130E45 #2E0E45 #450E41
triadic
#2E0E45 #452E0E #0E452E
tetradic
#2E0E45 #45130E #25450E #0E4145
square
#2E0E45 #45130E #25450E #0E4145
split-complementary
#2E0E45 #41450E #0E4513
monochromatic
#110519 #110519 #2E0E45 #501878 #7223AB

Accessibility & contrast

On white

16.60
#2E0E45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#2E0E45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E0E45
16.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0E45#FFFFFF#000000##FFFFFF
##2E0E451.0016.601.2616.60
#FFFFFF16.601.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D47
Deuteranopia (green-blind)
#011F44
Tritanopia (blue-blind)
#2A1B28
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2e0e45;
/* rgb */ color: rgb(46, 14, 69);
/* oklch */ color: oklch(24.9% 0.099 307.2);
Tailwind
colors: {
  custom: {
    50: '#6a5079',
    500: '#2e0e45',
    950: '#000000',
  },
}
SCSS
$custom: #2e0e45;
$custom-light: #6a5079;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0e45",
  "rgb": {
    "r": 46,
    "g": 14,
    "b": 69
  },
  "hsl": {
    "h": 274.909,
    "s": 66.265,
    "l": 16.275
  },
  "oklch": {
    "l": 0.24882,
    "c": 0.09886,
    "h": 307.2
  },
  "luminance": 0.01325
}

Semantic roles & 50–950 ramp

primary
#2E0E45
secondary
#51802F
accent
#E93F86
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070209
muted
#7A787B

Preview Lab

Preview with #2E0E45

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

Preview Lab → · Contrast checker → · Palette generator →

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