#2E0F3E#2E0F3E

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

Color values

HEX#2E0F3E
RGBrgb(46, 15, 62)
HSLhsl(280, 61%, 15%)
HSVhsv(280, 76%, 24%)
CMYKcmyk(25.8%, 75.8%, 0%, 75.7%)
CIE-LABlab(11.07, 25.11, -23.43)
CIE-LCHlch(11.07, 34.34, 316.98°)
OKLaboklab(24.43% 0.0594 -0.0661)
OKLCHoklch(24.43% 0.089 311.9)
XYZxyz(2.1669, 1.2703, 4.6875)
Luminance0.0127 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0F3E #1F3E0F
analogous
#160F3E #2E0F3E #3E0F37
triadic
#2E0F3E #3E2E0F #0F3E2E
tetradic
#2E0F3E #3E160F #1F3E0F #0F373E
square
#2E0F3E #3E160F #1F3E0F #0F373E
split-complementary
#2E0F3E #373E0F #0F3E16
monochromatic
#120619 #120619 #2E0F3E #531B6F #7727A1

Accessibility & contrast

On white

16.75
#2E0F3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E0F3E
16.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0F3E#FFFFFF#000000##FFFFFF
##2E0F3E1.0016.751.2516.75
#FFFFFF16.751.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C3F
Deuteranopia (green-blind)
#0A1E3D
Tritanopia (blue-blind)
#2C1825
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2e0f3e;
/* rgb */ color: rgb(46, 15, 62);
/* oklch */ color: oklch(24.4% 0.089 311.9);
Tailwind
colors: {
  custom: {
    50: '#695073',
    500: '#2e0f3e',
    950: '#000000',
  },
}
SCSS
$custom: #2e0f3e;
$custom-light: #695073;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0f3e",
  "rgb": {
    "r": 46,
    "g": 15,
    "b": 62
  },
  "hsl": {
    "h": 279.574,
    "s": 61.039,
    "l": 15.098
  },
  "oklch": {
    "l": 0.24429,
    "c": 0.08882,
    "h": 311.9
  },
  "luminance": 0.0127
}

Semantic roles & 50–950 ramp

primary
#2E0F3E
secondary
#497830
accent
#E4447A
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #2E0F3E

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

Preview Lab → · Contrast checker → · Palette generator →

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