#2E0230#2E0230

#2E0230 is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.6% C 0.095 H 326.3°. Best body text is #FFFFFF at 17.99:1 contrast (WCAG AA passes).

Color values

HEX#2E0230
RGBrgb(46, 2, 48)
HSLhsl(297, 92%, 10%)
HSVhsv(297, 96%, 19%)
CMYKcmyk(4.2%, 95.8%, 0%, 81.2%)
CIE-LABlab(7.57, 28.71, -18.88)
CIE-LCHlch(7.57, 34.36, 326.67°)
OKLaboklab(21.58% 0.079 -0.0526)
OKLCHoklch(21.58% 0.095 326.3)
XYZxyz(1.6819, 0.8378, 2.8689)
Luminance0.0084 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0230 #043002
analogous
#170230 #2E0230 #30021B
triadic
#2E0230 #302E02 #02302E
tetradic
#2E0230 #301702 #043002 #021B30
square
#2E0230 #301702 #043002 #021B30
split-complementary
#2E0230 #1B3002 #023017
monochromatic
#1C011D #1C011D #2E0230 #66046B #9F07A6

Accessibility & contrast

On white

17.99
#2E0230 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E0230
17.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0230#FFFFFF#000000##FFFFFF
##2E02301.0017.991.1717.99
#FFFFFF17.991.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001331
Deuteranopia (green-blind)
#0C192F
Tritanopia (blue-blind)
#2F0919
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2e0230;
/* rgb */ color: rgb(46, 2, 48);
/* oklch */ color: oklch(21.6% 0.095 326.3);
Tailwind
colors: {
  custom: {
    50: '#694868',
    500: '#2e0230',
    950: '#000000',
  },
}
SCSS
$custom: #2e0230;
$custom-light: #694868;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0230",
  "rgb": {
    "r": 46,
    "g": 2,
    "b": 48
  },
  "hsl": {
    "h": 297.391,
    "s": 92,
    "l": 9.804
  },
  "oklch": {
    "l": 0.21585,
    "c": 0.09492,
    "h": 326.3
  },
  "luminance": 0.00838
}

Semantic roles & 50–950 ramp

primary
#2E0230
secondary
#1D7519
accent
#FF2932
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2E0230

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

Preview Lab → · Contrast checker → · Palette generator →

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