#2E063B#2E063B

#2E063B is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 23.0% C 0.099 H 316.1°. Best body text is #FFFFFF at 17.42:1 contrast (WCAG AA passes).

Color values

HEX#2E063B
RGBrgb(46, 6, 59)
HSLhsl(285, 82%, 13%)
HSVhsv(285, 90%, 23%)
CMYKcmyk(22%, 89.8%, 0%, 76.9%)
CIE-LABlab(9.21, 28.92, -24.27)
CIE-LCHlch(9.21, 37.76, 320.00°)
OKLaboklab(23.03% 0.0712 -0.0684)
OKLCHoklch(23.03% 0.099 316.1)
XYZxyz(1.9811, 1.0269, 4.2307)
Luminance0.0103 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E063B #133B06
analogous
#13063B #2E063B #3B062D
triadic
#2E063B #3B2E06 #063B2E
tetradic
#2E063B #3B1306 #133B06 #062D3B
square
#2E063B #3B1306 #133B06 #062D3B
split-complementary
#2E063B #2D3B06 #063B13
monochromatic
#16031C #16031C #2E063B #590C73 #8511AA

Accessibility & contrast

On white

17.42
#2E063B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E063B
17.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E063B#FFFFFF#000000##FFFFFF
##2E063B1.0017.421.2117.42
#FFFFFF17.421.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183C
Deuteranopia (green-blind)
#051B3A
Tritanopia (blue-blind)
#2D1220
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2e063b;
/* rgb */ color: rgb(46, 6, 59);
/* oklch */ color: oklch(23.0% 0.099 316.1);
Tailwind
colors: {
  custom: {
    50: '#694b71',
    500: '#2e063b',
    950: '#000000',
  },
}
SCSS
$custom: #2e063b;
$custom-light: #694b71;
$custom-dark: #000000;
JSON
{
  "hex": "#2e063b",
  "rgb": {
    "r": 46,
    "g": 6,
    "b": 59
  },
  "hsl": {
    "h": 285.283,
    "s": 81.538,
    "l": 12.745
  },
  "oklch": {
    "l": 0.23033,
    "c": 0.09878,
    "h": 316.1
  },
  "luminance": 0.01027
}

Semantic roles & 50–950 ramp

primary
#2E063B
secondary
#387B22
accent
#F83061
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060108
muted
#7A777B

Preview Lab

Preview with #2E063B

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

Preview Lab → · Contrast checker → · Palette generator →

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