#2E0934#2E0934

#2E0934 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.8% C 0.087 H 321.7°. Best body text is #FFFFFF at 17.43:1 contrast (WCAG AA passes).

Color values

HEX#2E0934
RGBrgb(46, 9, 52)
HSLhsl(292, 70%, 12%)
HSVhsv(292, 83%, 20%)
CMYKcmyk(11.5%, 82.7%, 0%, 79.6%)
CIE-LABlab(9.19, 25.77, -19.23)
CIE-LCHlch(9.19, 32.15, 323.27°)
OKLaboklab(22.84% 0.0681 -0.0537)
OKLCHoklch(22.84% 0.087 321.7)
XYZxyz(1.8442, 1.0243, 3.3487)
Luminance0.0102 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0934 #0F3409
analogous
#190934 #2E0934 #340925
triadic
#2E0934 #342E09 #09342E
tetradic
#2E0934 #341909 #0F3409 #092534
square
#2E0934 #341909 #0F3409 #092534
split-complementary
#2E0934 #253409 #093419
monochromatic
#17051A #17051A #2E0934 #5C1268 #8A1B9C

Accessibility & contrast

On white

17.43
#2E0934 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#2E0934 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E0934
17.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0934#FFFFFF#000000##FFFFFF
##2E09341.0017.431.2017.43
#FFFFFF17.431.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001735
Deuteranopia (green-blind)
#0E1B33
Tritanopia (blue-blind)
#2F111D
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2e0934;
/* rgb */ color: rgb(46, 9, 52);
/* oklch */ color: oklch(22.8% 0.087 321.7);
Tailwind
colors: {
  custom: {
    50: '#694c6c',
    500: '#2e0934',
    950: '#000000',
  },
}
SCSS
$custom: #2e0934;
$custom-light: #694c6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0934",
  "rgb": {
    "r": 46,
    "g": 9,
    "b": 52
  },
  "hsl": {
    "h": 291.628,
    "s": 70.492,
    "l": 11.961
  },
  "oklch": {
    "l": 0.22841,
    "c": 0.08676,
    "h": 321.7
  },
  "luminance": 0.01024
}

Semantic roles & 50–950 ramp

primary
#2E0934
secondary
#317227
accent
#ED3B53
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #2E0934

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

Preview Lab → · Contrast checker → · Palette generator →

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