#2E0F41#2E0F41

#2E0F41 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.7% C 0.092 H 309.7°. Best body text is #FFFFFF at 16.66:1 contrast (WCAG AA passes).

Color values

HEX#2E0F41
RGBrgb(46, 15, 65)
HSLhsl(277, 63%, 16%)
HSVhsv(277, 77%, 25%)
CMYKcmyk(29.2%, 76.9%, 0%, 74.5%)
CIE-LABlab(11.30, 25.90, -25.17)
CIE-LCHlch(11.30, 36.12, 315.82°)
OKLaboklab(24.68% 0.0591 -0.0712)
OKLCHoklch(24.68% 0.093 309.7)
XYZxyz(2.2515, 1.3042, 5.1331)
Luminance0.0130 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0F41 #22410F
analogous
#150F41 #2E0F41 #410F3B
triadic
#2E0F41 #412E0F #0F412E
tetradic
#2E0F41 #41150F #22410F #0F3B41
square
#2E0F41 #41150F #22410F #0F3B41
split-complementary
#2E0F41 #3B410F #0F4115
monochromatic
#120619 #120619 #2E0F41 #511A73 #7426A4

Accessibility & contrast

On white

16.66
#2E0F41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E0F41
16.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0F41#FFFFFF#000000##FFFFFF
##2E0F411.0016.661.2616.66
#FFFFFF16.661.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D42
Deuteranopia (green-blind)
#071F40
Tritanopia (blue-blind)
#2B1A26
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2e0f41;
/* rgb */ color: rgb(46, 15, 65);
/* oklch */ color: oklch(24.7% 0.092 309.7);
Tailwind
colors: {
  custom: {
    50: '#695076',
    500: '#2e0f41',
    950: '#000000',
  },
}
SCSS
$custom: #2e0f41;
$custom-light: #695076;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0f41",
  "rgb": {
    "r": 46,
    "g": 15,
    "b": 65
  },
  "hsl": {
    "h": 277.2,
    "s": 62.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.24676,
    "c": 0.0925,
    "h": 309.7
  },
  "luminance": 0.01304
}

Semantic roles & 50–950 ramp

primary
#2E0F41
secondary
#4D7B30
accent
#E64280
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #2E0F41

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

Preview Lab → · Contrast checker → · Palette generator →

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