#2E063A#2E063A

#2E063A is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.9% C 0.098 H 316.9°. Best body text is #FFFFFF at 17.45:1 contrast (WCAG AA passes).

Color values

HEX#2E063A
RGBrgb(46, 6, 58)
HSLhsl(286, 81%, 13%)
HSVhsv(286, 90%, 23%)
CMYKcmyk(20.7%, 89.7%, 0%, 77.3%)
CIE-LABlab(9.13, 28.69, -23.68)
CIE-LCHlch(9.13, 37.20, 320.46°)
OKLaboklab(22.95% 0.0714 -0.0667)
OKLCHoklch(22.95% 0.098 316.9)
XYZxyz(1.9554, 1.0167, 4.0954)
Luminance0.0102 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E063A #123A06
analogous
#14063A #2E063A #3A062C
triadic
#2E063A #3A2E06 #063A2E
tetradic
#2E063A #3A1406 #123A06 #062C3A
square
#2E063A #3A1406 #123A06 #062C3A
split-complementary
#2E063A #2C3A06 #063A14
monochromatic
#16031C #16031C #2E063A #5A0C71 #8611A9

Accessibility & contrast

On white

17.45
#2E063A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#2E063A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E063A
17.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E063A#FFFFFF#000000##FFFFFF
##2E063A1.0017.451.2017.45
#FFFFFF17.451.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00173B
Deuteranopia (green-blind)
#061B39
Tritanopia (blue-blind)
#2D1120
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2e063a;
/* rgb */ color: rgb(46, 6, 58);
/* oklch */ color: oklch(22.9% 0.098 316.9);
Tailwind
colors: {
  custom: {
    50: '#694b70',
    500: '#2e063a',
    950: '#000000',
  },
}
SCSS
$custom: #2e063a;
$custom-light: #694b70;
$custom-dark: #000000;
JSON
{
  "hex": "#2e063a",
  "rgb": {
    "r": 46,
    "g": 6,
    "b": 58
  },
  "hsl": {
    "h": 286.154,
    "s": 81.25,
    "l": 12.549
  },
  "oklch": {
    "l": 0.22947,
    "c": 0.09774,
    "h": 316.9
  },
  "luminance": 0.01017
}

Semantic roles & 50–950 ramp

primary
#2E063A
secondary
#367A22
accent
#F8305E
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #2E063A

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

Preview Lab → · Contrast checker → · Palette generator →

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