#2E083A#2E083A

#2E083A is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.2% C 0.095 H 316.6°. Best body text is #FFFFFF at 17.33:1 contrast (WCAG AA passes).

Color values

HEX#2E083A
RGBrgb(46, 8, 58)
HSLhsl(286, 76%, 13%)
HSVhsv(286, 86%, 23%)
CMYKcmyk(20.7%, 86.2%, 0%, 77.3%)
CIE-LABlab(9.48, 27.67, -23.11)
CIE-LCHlch(9.48, 36.06, 320.13°)
OKLaboklab(23.2% 0.0688 -0.0651)
OKLCHoklch(23.2% 0.095 316.6)
XYZxyz(1.9772, 1.0601, 4.1026)
Luminance0.0106 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E083A #143A08
analogous
#15083A #2E083A #3A082D
triadic
#2E083A #3A2E08 #083A2E
tetradic
#2E083A #3A1508 #143A08 #082D3A
square
#2E083A #3A1508 #143A08 #082D3A
split-complementary
#2E083A #2D3A08 #083A15
monochromatic
#15041B #15041B #2E083A #590F70 #8317A6

Accessibility & contrast

On white

17.33
#2E083A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E083A
17.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E083A#FFFFFF#000000##FFFFFF
##2E083A1.0017.331.2117.33
#FFFFFF17.331.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183B
Deuteranopia (green-blind)
#081C39
Tritanopia (blue-blind)
#2D1320
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2e083a;
/* rgb */ color: rgb(46, 8, 58);
/* oklch */ color: oklch(23.2% 0.095 316.6);
Tailwind
colors: {
  custom: {
    50: '#694c70',
    500: '#2e083a',
    950: '#000000',
  },
}
SCSS
$custom: #2e083a;
$custom-light: #694c70;
$custom-dark: #000000;
JSON
{
  "hex": "#2e083a",
  "rgb": {
    "r": 46,
    "g": 8,
    "b": 58
  },
  "hsl": {
    "h": 285.6,
    "s": 75.758,
    "l": 12.941
  },
  "oklch": {
    "l": 0.23197,
    "c": 0.09473,
    "h": 316.6
  },
  "luminance": 0.0106
}

Semantic roles & 50–950 ramp

primary
#2E083A
secondary
#397925
accent
#F23563
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #2E083A

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

Preview Lab → · Contrast checker → · Palette generator →

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