#2E0743#2E0743

#2E0743 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.9% C 0.106 H 310.0°. Best body text is #FFFFFF at 17.11:1 contrast (WCAG AA passes).

Color values

HEX#2E0743
RGBrgb(46, 7, 67)
HSLhsl(279, 81%, 15%)
HSVhsv(279, 90%, 26%)
CMYKcmyk(31.3%, 89.6%, 0%, 73.7%)
CIE-LABlab(10.09, 30.36, -28.55)
CIE-LCHlch(10.09, 41.68, 316.76°)
OKLaboklab(23.87% 0.068 -0.081)
OKLCHoklch(23.87% 0.106 310)
XYZxyz(2.2156, 1.1381, 5.4121)
Luminance0.0114 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0743 #1C4307
analogous
#100743 #2E0743 #43073A
triadic
#2E0743 #432E07 #07432E
tetradic
#2E0743 #431007 #1C4307 #073A43
square
#2E0743 #431007 #1C4307 #073A43
split-complementary
#2E0743 #3A4307 #074310
monochromatic
#13031C #13031C #2E0743 #540D7A #7A13B2

Accessibility & contrast

On white

17.11
#2E0743 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E0743
17.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0743#FFFFFF#000000##FFFFFF
##2E07431.0017.111.2317.11
#FFFFFF17.111.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A45
Deuteranopia (green-blind)
#001C42
Tritanopia (blue-blind)
#2B1625
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2e0743;
/* rgb */ color: rgb(46, 7, 67);
/* oklch */ color: oklch(23.9% 0.106 310.0);
Tailwind
colors: {
  custom: {
    50: '#6a4c78',
    500: '#2e0743',
    950: '#000000',
  },
}
SCSS
$custom: #2e0743;
$custom-light: #6a4c78;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0743",
  "rgb": {
    "r": 46,
    "g": 7,
    "b": 67
  },
  "hsl": {
    "h": 279,
    "s": 81.081,
    "l": 14.51
  },
  "oklch": {
    "l": 0.23872,
    "c": 0.1058,
    "h": 310
  },
  "luminance": 0.01138
}

Semantic roles & 50–950 ramp

primary
#2E0743
secondary
#458224
accent
#F73076
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070109
muted
#7A777B

Preview Lab

Preview with #2E0743

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

Preview Lab → · Contrast checker → · Palette generator →

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