#2E0A45#2E0A45

#2E0A45 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.4% C 0.104 H 308.1°. Best body text is #FFFFFF at 16.86:1 contrast (WCAG AA passes).

Color values

HEX#2E0A45
RGBrgb(46, 10, 69)
HSLhsl(277, 75%, 15%)
HSVhsv(277, 86%, 27%)
CMYKcmyk(33.3%, 85.5%, 0%, 72.9%)
CIE-LABlab(10.76, 29.47, -28.87)
CIE-LCHlch(10.76, 41.26, 315.59°)
OKLaboklab(24.4% 0.0643 -0.082)
OKLCHoklch(24.4% 0.104 308.1)
XYZxyz(2.3092, 1.2276, 5.7444)
Luminance0.0123 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0A45 #21450A
analogous
#100A45 #2E0A45 #450A3E
triadic
#2E0A45 #452E0A #0A452E
tetradic
#2E0A45 #45100A #21450A #0A3E45
square
#2E0A45 #45100A #21450A #0A3E45
split-complementary
#2E0A45 #3E450A #0A4510
monochromatic
#12041B #12041B #2E0A45 #52127A #7519B0

Accessibility & contrast

On white

16.86
#2E0A45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E0A45
16.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0A45#FFFFFF#000000##FFFFFF
##2E0A451.0016.861.2516.86
#FFFFFF16.861.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C47
Deuteranopia (green-blind)
#001D44
Tritanopia (blue-blind)
#2A1927
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2e0a45;
/* rgb */ color: rgb(46, 10, 69);
/* oklch */ color: oklch(24.4% 0.104 308.1);
Tailwind
colors: {
  custom: {
    50: '#6a4e79',
    500: '#2e0a45',
    950: '#000000',
  },
}
SCSS
$custom: #2e0a45;
$custom-light: #6a4e79;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0a45",
  "rgb": {
    "r": 46,
    "g": 10,
    "b": 69
  },
  "hsl": {
    "h": 276.61,
    "s": 74.684,
    "l": 15.49
  },
  "oklch": {
    "l": 0.24397,
    "c": 0.10419,
    "h": 308.1
  },
  "luminance": 0.01228
}

Semantic roles & 50–950 ramp

primary
#2E0A45
secondary
#4C8229
accent
#F1367F
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070209
muted
#7A787B

Preview Lab

Preview with #2E0A45

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

Preview Lab → · Contrast checker → · Palette generator →

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