#2E0D40#2E0D40

#2E0D40 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.3% C 0.094 H 310.9°. Best body text is #FFFFFF at 16.83:1 contrast (WCAG AA passes).

Color values

HEX#2E0D40
RGBrgb(46, 13, 64)
HSLhsl(279, 66%, 15%)
HSVhsv(279, 80%, 25%)
CMYKcmyk(28.1%, 79.7%, 0%, 74.9%)
CIE-LABlab(10.84, 26.71, -25.21)
CIE-LCHlch(10.84, 36.73, 316.65°)
OKLaboklab(24.32% 0.0618 -0.0713)
OKLCHoklch(24.32% 0.094 310.9)
XYZxyz(2.1959, 1.2389, 4.9730)
Luminance0.0124 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0D40 #1F400D
analogous
#150D40 #2E0D40 #400D38
triadic
#2E0D40 #402E0D #0D402E
tetradic
#2E0D40 #40150D #1F400D #0D3840
square
#2E0D40 #40150D #1F400D #0D3840
split-complementary
#2E0D40 #38400D #0D4015
monochromatic
#120519 #120519 #2E0D40 #531773 #7722A6

Accessibility & contrast

On white

16.83
#2E0D40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E0D40
16.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0D40#FFFFFF#000000##FFFFFF
##2E0D401.0016.831.2516.83
#FFFFFF16.831.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C41
Deuteranopia (green-blind)
#061E3F
Tritanopia (blue-blind)
#2C1825
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2e0d40;
/* rgb */ color: rgb(46, 13, 64);
/* oklch */ color: oklch(24.3% 0.094 310.9);
Tailwind
colors: {
  custom: {
    50: '#694f75',
    500: '#2e0d40',
    950: '#000000',
  },
}
SCSS
$custom: #2e0d40;
$custom-light: #694f75;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0d40",
  "rgb": {
    "r": 46,
    "g": 13,
    "b": 64
  },
  "hsl": {
    "h": 278.824,
    "s": 66.234,
    "l": 15.098
  },
  "oklch": {
    "l": 0.24319,
    "c": 0.09433,
    "h": 310.9
  },
  "luminance": 0.01239
}

Semantic roles & 50–950 ramp

primary
#2E0D40
secondary
#497C2D
accent
#E93F7B
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #2E0D40

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

Preview Lab → · Contrast checker → · Palette generator →

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