#2E0530#2E0530

#2E0530 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.0% C 0.089 H 326.1°. Best body text is #FFFFFF at 17.79:1 contrast (WCAG AA passes).

Color values

HEX#2E0530
RGBrgb(46, 5, 48)
HSLhsl(297, 81%, 10%)
HSVhsv(297, 90%, 19%)
CMYKcmyk(4.2%, 89.6%, 0%, 81.2%)
CIE-LABlab(8.15, 27.01, -17.94)
CIE-LCHlch(8.15, 32.43, 326.41°)
OKLaboklab(22.01% 0.0741 -0.0499)
OKLCHoklch(22.01% 0.089 326.1)
XYZxyz(1.7145, 0.9029, 2.8797)
Luminance0.0090 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0530 #073005
analogous
#180530 #2E0530 #30051C
triadic
#2E0530 #302E05 #05302E
tetradic
#2E0530 #301805 #073005 #051C30
square
#2E0530 #301805 #073005 #051C30
split-complementary
#2E0530 #1C3005 #053018
monochromatic
#1B031C #1B031C #2E0530 #630B67 #98119F

Accessibility & contrast

On white

17.79
#2E0530 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#2E0530 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E0530
17.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0530#FFFFFF#000000##FFFFFF
##2E05301.0017.791.1817.79
#FFFFFF17.791.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001531
Deuteranopia (green-blind)
#0F1A2F
Tritanopia (blue-blind)
#2F0C1A
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2e0530;
/* rgb */ color: rgb(46, 5, 48);
/* oklch */ color: oklch(22.0% 0.089 326.1);
Tailwind
colors: {
  custom: {
    50: '#694a68',
    500: '#2e0530',
    950: '#000000',
  },
}
SCSS
$custom: #2e0530;
$custom-light: #694a68;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0530",
  "rgb": {
    "r": 46,
    "g": 5,
    "b": 48
  },
  "hsl": {
    "h": 297.209,
    "s": 81.132,
    "l": 10.392
  },
  "oklch": {
    "l": 0.22006,
    "c": 0.08939,
    "h": 326.1
  },
  "luminance": 0.00903
}

Semantic roles & 50–950 ramp

primary
#2E0530
secondary
#23721F
accent
#F8303A
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2E0530

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

Preview Lab → · Contrast checker → · Palette generator →

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