#2E0D45#2E0D45

#2E0D45 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.8% C 0.100 H 307.4°. Best body text is #FFFFFF at 16.67:1 contrast (WCAG AA passes).

Color values

HEX#2E0D45
RGBrgb(46, 13, 69)
HSLhsl(275, 68%, 16%)
HSVhsv(275, 81%, 27%)
CMYKcmyk(33.3%, 81.2%, 0%, 72.9%)
CIE-LABlab(11.26, 28.03, -28.05)
CIE-LCHlch(11.26, 39.66, 314.98°)
OKLaboklab(24.75% 0.0609 -0.0796)
OKLCHoklch(24.75% 0.1 307.4)
XYZxyz(2.3446, 1.2984, 5.7562)
Luminance0.0130 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0D45 #24450D
analogous
#120D45 #2E0D45 #450D40
triadic
#2E0D45 #452E0D #0D452E
tetradic
#2E0D45 #45120D #24450D #0D4045
square
#2E0D45 #45120D #24450D #0D4045
split-complementary
#2E0D45 #40450D #0D4512
monochromatic
#11051A #11051A #2E0D45 #501778 #7320AC

Accessibility & contrast

On white

16.67
#2E0D45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E0D45
16.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0D45#FFFFFF#000000##FFFFFF
##2E0D451.0016.671.2616.67
#FFFFFF16.671.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D47
Deuteranopia (green-blind)
#001E44
Tritanopia (blue-blind)
#2A1A28
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2e0d45;
/* rgb */ color: rgb(46, 13, 69);
/* oklch */ color: oklch(24.8% 0.100 307.4);
Tailwind
colors: {
  custom: {
    50: '#6a4f79',
    500: '#2e0d45',
    950: '#000000',
  },
}
SCSS
$custom: #2e0d45;
$custom-light: #6a4f79;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0d45",
  "rgb": {
    "r": 46,
    "g": 13,
    "b": 69
  },
  "hsl": {
    "h": 275.357,
    "s": 68.293,
    "l": 16.078
  },
  "oklch": {
    "l": 0.24753,
    "c": 0.10027,
    "h": 307.4
  },
  "luminance": 0.01298
}

Semantic roles & 50–950 ramp

primary
#2E0D45
secondary
#4F802D
accent
#EB3D84
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070209
muted
#7A787B

Preview Lab

Preview with #2E0D45

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

Preview Lab → · Contrast checker → · Palette generator →

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