#2E0E40#2E0E40

#2E0E40 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.5% C 0.093 H 310.7°. Best body text is #FFFFFF at 16.76:1 contrast (WCAG AA passes).

Color values

HEX#2E0E40
RGBrgb(46, 14, 64)
HSLhsl(278, 64%, 15%)
HSVhsv(278, 78%, 25%)
CMYKcmyk(28.1%, 78.1%, 0%, 74.9%)
CIE-LABlab(11.03, 26.18, -24.91)
CIE-LCHlch(11.03, 36.14, 316.43°)
OKLaboklab(24.45% 0.0605 -0.0704)
OKLCHoklch(24.45% 0.093 310.7)
XYZxyz(2.2090, 1.2651, 4.9773)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0E40 #20400E
analogous
#150E40 #2E0E40 #400E39
triadic
#2E0E40 #402E0E #0E402E
tetradic
#2E0E40 #40150E #20400E #0E3940
square
#2E0E40 #40150E #20400E #0E3940
split-complementary
#2E0E40 #39400E #0E4015
monochromatic
#120519 #120519 #2E0E40 #521972 #7624A4

Accessibility & contrast

On white

16.76
#2E0E40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E0E40
16.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0E40#FFFFFF#000000##FFFFFF
##2E0E401.0016.761.2516.76
#FFFFFF16.761.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C41
Deuteranopia (green-blind)
#071E3F
Tritanopia (blue-blind)
#2C1925
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2e0e40;
/* rgb */ color: rgb(46, 14, 64);
/* oklch */ color: oklch(24.5% 0.093 310.7);
Tailwind
colors: {
  custom: {
    50: '#694f75',
    500: '#2e0e40',
    950: '#000000',
  },
}
SCSS
$custom: #2e0e40;
$custom-light: #694f75;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0e40",
  "rgb": {
    "r": 46,
    "g": 14,
    "b": 64
  },
  "hsl": {
    "h": 278.4,
    "s": 64.103,
    "l": 15.294
  },
  "oklch": {
    "l": 0.24453,
    "c": 0.09282,
    "h": 310.7
  },
  "luminance": 0.01265
}

Semantic roles & 50–950 ramp

primary
#2E0E40
secondary
#4A7B2F
accent
#E7417D
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #2E0E40

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

Preview Lab → · Contrast checker → · Palette generator →

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