#2E1044#2E1044

#2E1044 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.1% C 0.095 H 307.3°. Best body text is #FFFFFF at 16.49:1 contrast (WCAG AA passes).

Color values

HEX#2E1044
RGBrgb(46, 16, 68)
HSLhsl(275, 62%, 16%)
HSVhsv(275, 76%, 27%)
CMYKcmyk(32.4%, 76.5%, 0%, 73.3%)
CIE-LABlab(11.75, 26.16, -26.57)
CIE-LCHlch(11.75, 37.29, 314.56°)
OKLaboklab(25.07% 0.0574 -0.0753)
OKLCHoklch(25.07% 0.095 307.3)
XYZxyz(2.3552, 1.3688, 5.6079)
Luminance0.0137 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1044 #264410
analogous
#141044 #2E1044 #441040
triadic
#2E1044 #442E10 #10442E
tetradic
#2E1044 #441410 #264410 #104044
square
#2E1044 #441410 #264410 #104044
split-complementary
#2E1044 #404410 #104414
monochromatic
#110619 #110619 #2E1044 #501C76 #7127A7

Accessibility & contrast

On white

16.49
#2E1044 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E1044
16.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1044#FFFFFF#000000##FFFFFF
##2E10441.0016.491.2716.49
#FFFFFF16.491.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e1044;
/* rgb */ color: rgb(46, 16, 68);
/* oklch */ color: oklch(25.1% 0.095 307.3);
Tailwind
colors: {
  custom: {
    50: '#695178',
    500: '#2e1044',
    950: '#000000',
  },
}
SCSS
$custom: #2e1044;
$custom-light: #695178;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1044",
  "rgb": {
    "r": 46,
    "g": 16,
    "b": 68
  },
  "hsl": {
    "h": 274.615,
    "s": 61.905,
    "l": 16.471
  },
  "oklch": {
    "l": 0.25071,
    "c": 0.09466,
    "h": 307.3
  },
  "luminance": 0.01369
}

Semantic roles & 50–950 ramp

primary
#2E1044
secondary
#527E32
accent
#E54387
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060209
muted
#7A787B

Preview Lab

Preview with #2E1044

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

Preview Lab → · Contrast checker → · Palette generator →

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