#2E0943#2E0943

#2E0943 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.1% C 0.103 H 309.6°. Best body text is #FFFFFF at 16.99:1 contrast (WCAG AA passes).

Color values

HEX#2E0943
RGBrgb(46, 9, 67)
HSLhsl(278, 76%, 15%)
HSVhsv(278, 87%, 26%)
CMYKcmyk(31.3%, 86.6%, 0%, 73.7%)
CIE-LABlab(10.42, 29.42, -28.02)
CIE-LCHlch(10.42, 40.62, 316.40°)
OKLaboklab(24.1% 0.0658 -0.0795)
OKLCHoklch(24.1% 0.103 309.6)
XYZxyz(2.2373, 1.1815, 5.4193)
Luminance0.0118 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0943 #1E4309
analogous
#110943 #2E0943 #43093B
triadic
#2E0943 #432E09 #09432E
tetradic
#2E0943 #431109 #1E4309 #093B43
square
#2E0943 #431109 #1E4309 #093B43
split-complementary
#2E0943 #3B4309 #094311
monochromatic
#13041B #13041B #2E0943 #531079 #7817AF

Accessibility & contrast

On white

16.99
#2E0943 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E0943
16.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0943#FFFFFF#000000##FFFFFF
##2E09431.0016.991.2416.99
#FFFFFF16.991.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e0943;
/* rgb */ color: rgb(46, 9, 67);
/* oklch */ color: oklch(24.1% 0.103 309.6);
Tailwind
colors: {
  custom: {
    50: '#6a4d78',
    500: '#2e0943',
    950: '#000000',
  },
}
SCSS
$custom: #2e0943;
$custom-light: #6a4d78;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0943",
  "rgb": {
    "r": 46,
    "g": 9,
    "b": 67
  },
  "hsl": {
    "h": 278.276,
    "s": 76.316,
    "l": 14.902
  },
  "oklch": {
    "l": 0.24102,
    "c": 0.1032,
    "h": 309.6
  },
  "luminance": 0.01181
}

Semantic roles & 50–950 ramp

primary
#2E0943
secondary
#488127
accent
#F3357A
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070109
muted
#7A777B

Preview Lab

Preview with #2E0943

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

Preview Lab → · Contrast checker → · Palette generator →

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