#2E083F#2E083F

#2E083F is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.6% C 0.100 H 312.7°. Best body text is #FFFFFF at 17.18:1 contrast (WCAG AA passes).

Color values

HEX#2E083F
RGBrgb(46, 8, 63)
HSLhsl(281, 77%, 14%)
HSVhsv(281, 87%, 25%)
CMYKcmyk(27%, 87.3%, 0%, 75.3%)
CIE-LABlab(9.90, 28.89, -26.02)
CIE-LCHlch(9.90, 38.88, 317.99°)
OKLaboklab(23.63% 0.0679 -0.0736)
OKLCHoklch(23.63% 0.1 312.7)
XYZxyz(2.1106, 1.1135, 4.8054)
Luminance0.0111 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E083F #193F08
analogous
#13083F #2E083F #3F0835
triadic
#2E083F #3F2E08 #083F2E
tetradic
#2E083F #3F1308 #193F08 #08353F
square
#2E083F #3F1308 #193F08 #08353F
split-complementary
#2E083F #353F08 #083F13
monochromatic
#14031B #14031B #2E083F #560F75 #7D16AC

Accessibility & contrast

On white

17.18
#2E083F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E083F
17.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E083F#FFFFFF#000000##FFFFFF
##2E083F1.0017.181.2217.18
#FFFFFF17.181.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001941
Deuteranopia (green-blind)
#031C3E
Tritanopia (blue-blind)
#2C1523
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2e083f;
/* rgb */ color: rgb(46, 8, 63);
/* oklch */ color: oklch(23.6% 0.100 312.7);
Tailwind
colors: {
  custom: {
    50: '#694c74',
    500: '#2e083f',
    950: '#000000',
  },
}
SCSS
$custom: #2e083f;
$custom-light: #694c74;
$custom-dark: #000000;
JSON
{
  "hex": "#2e083f",
  "rgb": {
    "r": 46,
    "g": 8,
    "b": 63
  },
  "hsl": {
    "h": 281.455,
    "s": 77.465,
    "l": 13.922
  },
  "oklch": {
    "l": 0.23627,
    "c": 0.10013,
    "h": 312.7
  },
  "luminance": 0.01113
}

Semantic roles & 50–950 ramp

primary
#2E083F
secondary
#417E25
accent
#F4346F
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070108
muted
#7A777B

Preview Lab

Preview with #2E083F

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

Preview Lab → · Contrast checker → · Palette generator →

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