#2E053F#2E053F

#2E053F is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 23.3% C 0.104 H 313.2°. Best body text is #FFFFFF at 17.36:1 contrast (WCAG AA passes).

Color values

HEX#2E053F
RGBrgb(46, 5, 63)
HSLhsl(282, 85%, 13%)
HSVhsv(282, 92%, 25%)
CMYKcmyk(27%, 92.1%, 0%, 75.3%)
CIE-LABlab(9.39, 30.38, -26.85)
CIE-LCHlch(9.39, 40.55, 318.53°)
OKLaboklab(23.27% 0.0715 -0.076)
OKLCHoklch(23.27% 0.104 313.2)
XYZxyz(2.0780, 1.0483, 4.7945)
Luminance0.0105 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E053F #163F05
analogous
#11053F #2E053F #3F0533
triadic
#2E053F #3F2E05 #053F2E
tetradic
#2E053F #3F1105 #163F05 #05333F
square
#2E053F #3F1105 #163F05 #05333F
split-complementary
#2E053F #333F05 #053F11
monochromatic
#15021C #15021C #2E053F #570978 #810EB0

Accessibility & contrast

On white

17.36
#2E053F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#2E053F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E053F
17.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E053F#FFFFFF#000000##FFFFFF
##2E053F1.0017.361.2117.36
#FFFFFF17.361.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001841
Deuteranopia (green-blind)
#001B3E
Tritanopia (blue-blind)
#2C1322
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2e053f;
/* rgb */ color: rgb(46, 5, 63);
/* oklch */ color: oklch(23.3% 0.104 313.2);
Tailwind
colors: {
  custom: {
    50: '#6a4b74',
    500: '#2e053f',
    950: '#000000',
  },
}
SCSS
$custom: #2e053f;
$custom-light: #6a4b74;
$custom-dark: #000000;
JSON
{
  "hex": "#2e053f",
  "rgb": {
    "r": 46,
    "g": 5,
    "b": 63
  },
  "hsl": {
    "h": 282.414,
    "s": 85.294,
    "l": 13.333
  },
  "oklch": {
    "l": 0.23266,
    "c": 0.10438,
    "h": 313.2
  },
  "luminance": 0.01048
}

Semantic roles & 50–950 ramp

primary
#2E053F
secondary
#3C8020
accent
#FC2C69
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070108
muted
#7A777B

Preview Lab

Preview with #2E053F

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

Preview Lab → · Contrast checker → · Palette generator →

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