#2E0F44#2E0F44

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

Color values

HEX#2E0F44
RGBrgb(46, 15, 68)
HSLhsl(275, 64%, 16%)
HSVhsv(275, 78%, 27%)
CMYKcmyk(32.4%, 77.9%, 0%, 73.3%)
CIE-LABlab(11.55, 26.71, -26.89)
CIE-LCHlch(11.55, 37.90, 314.81°)
OKLaboklab(24.93% 0.0587 -0.0762)
OKLCHoklch(24.93% 0.096 307.6)
XYZxyz(2.3407, 1.3399, 5.6030)
Luminance0.0134 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0F44 #25440F
analogous
#140F44 #2E0F44 #440F40
triadic
#2E0F44 #442E0F #0F442E
tetradic
#2E0F44 #44140F #25440F #0F4044
square
#2E0F44 #44140F #25440F #0F4044
split-complementary
#2E0F44 #40440F #0F4414
monochromatic
#110619 #110619 #2E0F44 #501A76 #7225A8

Accessibility & contrast

On white

16.56
#2E0F44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#2E0F44 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E0F44
16.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0F44#FFFFFF#000000##FFFFFF
##2E0F441.0016.561.2716.56
#FFFFFF16.561.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D46
Deuteranopia (green-blind)
#031F43
Tritanopia (blue-blind)
#2A1B28
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #2e0f44;
/* rgb */ color: rgb(46, 15, 68);
/* oklch */ color: oklch(24.9% 0.096 307.6);
Tailwind
colors: {
  custom: {
    50: '#695078',
    500: '#2e0f44',
    950: '#000000',
  },
}
SCSS
$custom: #2e0f44;
$custom-light: #695078;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0f44",
  "rgb": {
    "r": 46,
    "g": 15,
    "b": 68
  },
  "hsl": {
    "h": 275.094,
    "s": 63.855,
    "l": 16.275
  },
  "oklch": {
    "l": 0.2493,
    "c": 0.09618,
    "h": 307.6
  },
  "luminance": 0.0134
}

Semantic roles & 50–950 ramp

primary
#2E0F44
secondary
#517E30
accent
#E74186
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060209
muted
#7A787B

Preview Lab

Preview with #2E0F44

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

Preview Lab → · Contrast checker → · Palette generator →

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