#2E053A#2E053A

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

Color values

HEX#2E053A
RGBrgb(46, 5, 58)
HSLhsl(286, 84%, 12%)
HSVhsv(286, 91%, 23%)
CMYKcmyk(20.7%, 91.4%, 0%, 77.3%)
CIE-LABlab(8.95, 29.21, -23.97)
CIE-LCHlch(8.95, 37.79, 320.62°)
OKLaboklab(22.82% 0.0728 -0.0676)
OKLCHoklch(22.82% 0.099 317.1)
XYZxyz(1.9446, 0.9950, 4.0918)
Luminance0.0100 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E053A #113A05
analogous
#14053A #2E053A #3A052C
triadic
#2E053A #3A2E05 #053A2E
tetradic
#2E053A #3A1405 #113A05 #052C3A
square
#2E053A #3A1405 #113A05 #052C3A
split-complementary
#2E053A #2C3A05 #053A14
monochromatic
#16021C #16021C #2E053A #5B0A72 #870FAB

Accessibility & contrast

On white

17.51
#2E053A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E053A
17.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E053A#FFFFFF#000000##FFFFFF
##2E053A1.0017.511.2017.51
#FFFFFF17.511.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00173B
Deuteranopia (green-blind)
#061B39
Tritanopia (blue-blind)
#2D111F
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2e053a;
/* rgb */ color: rgb(46, 5, 58);
/* oklch */ color: oklch(22.8% 0.099 317.1);
Tailwind
colors: {
  custom: {
    50: '#694a70',
    500: '#2e053a',
    950: '#000000',
  },
}
SCSS
$custom: #2e053a;
$custom-light: #694a70;
$custom-dark: #000000;
JSON
{
  "hex": "#2e053a",
  "rgb": {
    "r": 46,
    "g": 5,
    "b": 58
  },
  "hsl": {
    "h": 286.415,
    "s": 84.127,
    "l": 12.353
  },
  "oklch": {
    "l": 0.22821,
    "c": 0.0993,
    "h": 317.1
  },
  "luminance": 0.00995
}

Semantic roles & 50–950 ramp

primary
#2E053A
secondary
#347B20
accent
#FA2D5C
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #2E053A

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

Preview Lab → · Contrast checker → · Palette generator →

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