#2E0330#2E0330

#2E0330 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.7% C 0.093 H 326.2°. Best body text is #FFFFFF at 17.92:1 contrast (WCAG AA passes).

Color values

HEX#2E0330
RGBrgb(46, 3, 48)
HSLhsl(297, 88%, 10%)
HSVhsv(297, 94%, 19%)
CMYKcmyk(4.2%, 93.8%, 0%, 81.2%)
CIE-LABlab(7.76, 28.14, -18.57)
CIE-LCHlch(7.76, 33.71, 326.59°)
OKLaboklab(21.73% 0.0773 -0.0517)
OKLCHoklch(21.73% 0.093 326.2)
XYZxyz(1.6927, 0.8595, 2.8725)
Luminance0.0086 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0330 #053003
analogous
#170330 #2E0330 #30031C
triadic
#2E0330 #302E03 #03302E
tetradic
#2E0330 #301703 #053003 #031C30
square
#2E0330 #301703 #053003 #031C30
split-complementary
#2E0330 #1C3003 #033017
monochromatic
#1C021D #1C021D #2E0330 #65076A #9C0AA3

Accessibility & contrast

On white

17.92
#2E0330 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#2E0330 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E0330
17.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0330#FFFFFF#000000##FFFFFF
##2E03301.0017.921.1717.92
#FFFFFF17.921.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001431
Deuteranopia (green-blind)
#0D192F
Tritanopia (blue-blind)
#2F0A19
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2e0330;
/* rgb */ color: rgb(46, 3, 48);
/* oklch */ color: oklch(21.7% 0.093 326.2);
Tailwind
colors: {
  custom: {
    50: '#694968',
    500: '#2e0330',
    950: '#000000',
  },
}
SCSS
$custom: #2e0330;
$custom-light: #694968;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0330",
  "rgb": {
    "r": 46,
    "g": 3,
    "b": 48
  },
  "hsl": {
    "h": 297.333,
    "s": 88.235,
    "l": 10
  },
  "oklch": {
    "l": 0.21727,
    "c": 0.09304,
    "h": 326.2
  },
  "luminance": 0.00859
}

Semantic roles & 50–950 ramp

primary
#2E0330
secondary
#1F731B
accent
#FE2933
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2E0330

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

Preview Lab → · Contrast checker → · Palette generator →

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