#2E063E#2E063E

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

Color values

HEX#2E063E
RGBrgb(46, 6, 62)
HSLhsl(283, 82%, 13%)
HSVhsv(283, 90%, 24%)
CMYKcmyk(25.8%, 90.3%, 0%, 75.7%)
CIE-LABlab(9.47, 29.63, -26.00)
CIE-LCHlch(9.47, 39.42, 318.74°)
OKLaboklab(23.3% 0.0705 -0.0735)
OKLCHoklch(23.3% 0.102 313.8)
XYZxyz(2.0612, 1.0590, 4.6523)
Luminance0.0106 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E063E #163E06
analogous
#12063E #2E063E #3E0632
triadic
#2E063E #3E2E06 #063E2E
tetradic
#2E063E #3E1206 #163E06 #06323E
square
#2E063E #3E1206 #163E06 #06323E
split-complementary
#2E063E #323E06 #063E12
monochromatic
#15031C #15031C #2E063E #570B76 #8111AE

Accessibility & contrast

On white

17.33
#2E063E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E063E
17.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E063E#FFFFFF#000000##FFFFFF
##2E063E1.0017.331.2117.33
#FFFFFF17.331.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183F
Deuteranopia (green-blind)
#021B3D
Tritanopia (blue-blind)
#2C1322
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2e063e;
/* rgb */ color: rgb(46, 6, 62);
/* oklch */ color: oklch(23.3% 0.102 313.8);
Tailwind
colors: {
  custom: {
    50: '#6a4b74',
    500: '#2e063e',
    950: '#000000',
  },
}
SCSS
$custom: #2e063e;
$custom-light: #6a4b74;
$custom-dark: #000000;
JSON
{
  "hex": "#2e063e",
  "rgb": {
    "r": 46,
    "g": 6,
    "b": 62
  },
  "hsl": {
    "h": 282.857,
    "s": 82.353,
    "l": 13.333
  },
  "oklch": {
    "l": 0.23297,
    "c": 0.1019,
    "h": 313.8
  },
  "luminance": 0.01059
}

Semantic roles & 50–950 ramp

primary
#2E063E
secondary
#3C7E22
accent
#F92F69
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070108
muted
#7A777B

Preview Lab

Preview with #2E063E

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

Preview Lab → · Contrast checker → · Palette generator →

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