#2E083B#2E083B

#2E083B is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.3% C 0.096 H 315.8°. Best body text is #FFFFFF at 17.30:1 contrast (WCAG AA passes).

Color values

HEX#2E083B
RGBrgb(46, 8, 59)
HSLhsl(285, 76%, 13%)
HSVhsv(285, 86%, 23%)
CMYKcmyk(22%, 86.4%, 0%, 76.9%)
CIE-LABlab(9.56, 27.91, -23.70)
CIE-LCHlch(9.56, 36.62, 319.66°)
OKLaboklab(23.28% 0.0687 -0.0668)
OKLCHoklch(23.28% 0.096 315.8)
XYZxyz(2.0028, 1.0704, 4.2379)
Luminance0.0107 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E083B #153B08
analogous
#14083B #2E083B #3B082E
triadic
#2E083B #3B2E08 #083B2E
tetradic
#2E083B #3B1408 #153B08 #082E3B
square
#2E083B #3B1408 #153B08 #082E3B
split-complementary
#2E083B #2E3B08 #083B14
monochromatic
#15041B #15041B #2E083B #580F71 #8217A7

Accessibility & contrast

On white

17.30
#2E083B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E083B
17.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E083B#FFFFFF#000000##FFFFFF
##2E083B1.0017.301.2117.30
#FFFFFF17.301.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183C
Deuteranopia (green-blind)
#071C3A
Tritanopia (blue-blind)
#2D1321
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2e083b;
/* rgb */ color: rgb(46, 8, 59);
/* oklch */ color: oklch(23.3% 0.096 315.8);
Tailwind
colors: {
  custom: {
    50: '#694c71',
    500: '#2e083b',
    950: '#000000',
  },
}
SCSS
$custom: #2e083b;
$custom-light: #694c71;
$custom-dark: #000000;
JSON
{
  "hex": "#2e083b",
  "rgb": {
    "r": 46,
    "g": 8,
    "b": 59
  },
  "hsl": {
    "h": 284.706,
    "s": 76.119,
    "l": 13.137
  },
  "oklch": {
    "l": 0.23281,
    "c": 0.0958,
    "h": 315.8
  },
  "luminance": 0.0107
}

Semantic roles & 50–950 ramp

primary
#2E083B
secondary
#3B7A25
accent
#F33565
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060108
muted
#7A777B

Preview Lab

Preview with #2E083B

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

Preview Lab → · Contrast checker → · Palette generator →

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