#2E0744#2E0744

#2E0744 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 24.0% C 0.107 H 309.3°. Best body text is #FFFFFF at 17.07:1 contrast (WCAG AA passes).

Color values

HEX#2E0744
RGBrgb(46, 7, 68)
HSLhsl(278, 81%, 15%)
HSVhsv(278, 90%, 27%)
CMYKcmyk(32.4%, 89.7%, 0%, 73.3%)
CIE-LABlab(10.18, 30.61, -29.10)
CIE-LCHlch(10.18, 42.24, 316.45°)
OKLaboklab(23.97% 0.0678 -0.0827)
OKLCHoklch(23.97% 0.107 309.3)
XYZxyz(2.2459, 1.1502, 5.5714)
Luminance0.0115 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0744 #1D4407
analogous
#100744 #2E0744 #44073C
triadic
#2E0744 #442E07 #07442E
tetradic
#2E0744 #441007 #1D4407 #073C44
square
#2E0744 #441007 #1D4407 #073C44
split-complementary
#2E0744 #3C4407 #074410
monochromatic
#13031C #13031C #2E0744 #540D7B #7912B3

Accessibility & contrast

On white

17.07
#2E0744 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#2E0744 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E0744
17.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0744#FFFFFF#000000##FFFFFF
##2E07441.0017.071.2317.07
#FFFFFF17.071.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A46
Deuteranopia (green-blind)
#001C43
Tritanopia (blue-blind)
#2B1726
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2e0744;
/* rgb */ color: rgb(46, 7, 68);
/* oklch */ color: oklch(24.0% 0.107 309.3);
Tailwind
colors: {
  custom: {
    50: '#6a4c78',
    500: '#2e0744',
    950: '#000000',
  },
}
SCSS
$custom: #2e0744;
$custom-light: #6a4c78;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0744",
  "rgb": {
    "r": 46,
    "g": 7,
    "b": 68
  },
  "hsl": {
    "h": 278.361,
    "s": 81.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.23965,
    "c": 0.10688,
    "h": 309.3
  },
  "luminance": 0.0115
}

Semantic roles & 50–950 ramp

primary
#2E0744
secondary
#468324
accent
#F83078
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070109
muted
#7A777B

Preview Lab

Preview with #2E0744

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

Preview Lab → · Contrast checker → · Palette generator →

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