#2E0D41#2E0D41

#2E0D41 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.4% C 0.096 H 310.2°. Best body text is #FFFFFF at 16.80:1 contrast (WCAG AA passes).

Color values

HEX#2E0D41
RGBrgb(46, 13, 65)
HSLhsl(278, 67%, 15%)
HSVhsv(278, 80%, 25%)
CMYKcmyk(29.2%, 80%, 0%, 74.5%)
CIE-LABlab(10.92, 26.97, -25.79)
CIE-LCHlch(10.92, 37.32, 316.29°)
OKLaboklab(24.4% 0.0616 -0.073)
OKLCHoklch(24.4% 0.096 310.2)
XYZxyz(2.2246, 1.2504, 5.1242)
Luminance0.0125 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0D41 #20410D
analogous
#140D41 #2E0D41 #410D3A
triadic
#2E0D41 #412E0D #0D412E
tetradic
#2E0D41 #41140D #20410D #0D3A41
square
#2E0D41 #41140D #20410D #0D3A41
split-complementary
#2E0D41 #3A410D #0D4114
monochromatic
#12051A #12051A #2E0D41 #521774 #7621A7

Accessibility & contrast

On white

16.80
#2E0D41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#2E0D41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E0D41
16.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0D41#FFFFFF#000000##FFFFFF
##2E0D411.0016.801.2516.80
#FFFFFF16.801.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C43
Deuteranopia (green-blind)
#051E40
Tritanopia (blue-blind)
#2B1826
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2e0d41;
/* rgb */ color: rgb(46, 13, 65);
/* oklch */ color: oklch(24.4% 0.096 310.2);
Tailwind
colors: {
  custom: {
    50: '#694f76',
    500: '#2e0d41',
    950: '#000000',
  },
}
SCSS
$custom: #2e0d41;
$custom-light: #694f76;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0d41",
  "rgb": {
    "r": 46,
    "g": 13,
    "b": 65
  },
  "hsl": {
    "h": 278.077,
    "s": 66.667,
    "l": 15.294
  },
  "oklch": {
    "l": 0.24404,
    "c": 0.09551,
    "h": 310.2
  },
  "luminance": 0.0125
}

Semantic roles & 50–950 ramp

primary
#2E0D41
secondary
#4A7D2D
accent
#EA3E7D
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #2E0D41

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

Preview Lab → · Contrast checker → · Palette generator →

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