#2E083E#2E083E

#2E083E is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.5% C 0.099 H 313.4°. Best body text is #FFFFFF at 17.21:1 contrast (WCAG AA passes).

Color values

HEX#2E083E
RGBrgb(46, 8, 62)
HSLhsl(282, 77%, 14%)
HSVhsv(282, 87%, 24%)
CMYKcmyk(25.8%, 87.1%, 0%, 75.7%)
CIE-LABlab(9.82, 28.64, -25.44)
CIE-LCHlch(9.82, 38.31, 318.38°)
OKLaboklab(23.54% 0.0681 -0.0719)
OKLCHoklch(23.54% 0.099 313.4)
XYZxyz(2.0829, 1.1024, 4.6596)
Luminance0.0110 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E083E #183E08
analogous
#13083E #2E083E #3E0833
triadic
#2E083E #3E2E08 #083E2E
tetradic
#2E083E #3E1308 #183E08 #08333E
square
#2E083E #3E1308 #183E08 #08333E
split-complementary
#2E083E #333E08 #083E13
monochromatic
#14031B #14031B #2E083E #560F74 #7E16AA

Accessibility & contrast

On white

17.21
#2E083E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#2E083E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E083E
17.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E083E#FFFFFF#000000##FFFFFF
##2E083E1.0017.211.2217.21
#FFFFFF17.211.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193F
Deuteranopia (green-blind)
#041C3D
Tritanopia (blue-blind)
#2C1423
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2e083e;
/* rgb */ color: rgb(46, 8, 62);
/* oklch */ color: oklch(23.5% 0.099 313.4);
Tailwind
colors: {
  custom: {
    50: '#694c74',
    500: '#2e083e',
    950: '#000000',
  },
}
SCSS
$custom: #2e083e;
$custom-light: #694c74;
$custom-dark: #000000;
JSON
{
  "hex": "#2e083e",
  "rgb": {
    "r": 46,
    "g": 8,
    "b": 62
  },
  "hsl": {
    "h": 282.222,
    "s": 77.143,
    "l": 13.725
  },
  "oklch": {
    "l": 0.23539,
    "c": 0.09904,
    "h": 313.4
  },
  "luminance": 0.01102
}

Semantic roles & 50–950 ramp

primary
#2E083E
secondary
#3F7D25
accent
#F4346D
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070108
muted
#7A777B

Preview Lab

Preview with #2E083E

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

Preview Lab → · Contrast checker → · Palette generator →

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