#2E0944#2E0944

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

Color values

HEX#2E0944
RGBrgb(46, 9, 68)
HSLhsl(278, 77%, 15%)
HSVhsv(278, 87%, 27%)
CMYKcmyk(32.4%, 86.8%, 0%, 73.3%)
CIE-LABlab(10.51, 29.67, -28.58)
CIE-LCHlch(10.51, 41.19, 316.08°)
OKLaboklab(24.19% 0.0656 -0.0811)
OKLCHoklch(24.19% 0.104 308.9)
XYZxyz(2.2676, 1.1936, 5.5787)
Luminance0.0119 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0944 #1F4409
analogous
#100944 #2E0944 #44093C
triadic
#2E0944 #442E09 #09442E
tetradic
#2E0944 #441009 #1F4409 #093C44
square
#2E0944 #441009 #1F4409 #093C44
split-complementary
#2E0944 #3C4409 #094410
monochromatic
#12041B #12041B #2E0944 #53107A #7717B0

Accessibility & contrast

On white

16.95
#2E0944 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#2E0944 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E0944
16.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0944#FFFFFF#000000##FFFFFF
##2E09441.0016.951.2416.95
#FFFFFF16.951.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B46
Deuteranopia (green-blind)
#001D43
Tritanopia (blue-blind)
#2B1826
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2e0944;
/* rgb */ color: rgb(46, 9, 68);
/* oklch */ color: oklch(24.2% 0.104 308.9);
Tailwind
colors: {
  custom: {
    50: '#6a4d78',
    500: '#2e0944',
    950: '#000000',
  },
}
SCSS
$custom: #2e0944;
$custom-light: #6a4d78;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0944",
  "rgb": {
    "r": 46,
    "g": 9,
    "b": 68
  },
  "hsl": {
    "h": 277.627,
    "s": 76.623,
    "l": 15.098
  },
  "oklch": {
    "l": 0.24193,
    "c": 0.10431,
    "h": 308.9
  },
  "luminance": 0.01194
}

Semantic roles & 50–950 ramp

primary
#2E0944
secondary
#498227
accent
#F3357C
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070109
muted
#7A777B

Preview Lab

Preview with #2E0944

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

Preview Lab → · Contrast checker → · Palette generator →

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