#2E063F#2E063F

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

Color values

HEX#2E063F
RGBrgb(46, 6, 63)
HSLhsl(282, 83%, 14%)
HSVhsv(282, 90%, 25%)
CMYKcmyk(27%, 90.5%, 0%, 75.3%)
CIE-LABlab(9.56, 29.88, -26.57)
CIE-LCHlch(9.56, 39.98, 318.35°)
OKLaboklab(23.39% 0.0703 -0.0752)
OKLCHoklch(23.39% 0.103 313.1)
XYZxyz(2.0889, 1.0700, 4.7982)
Luminance0.0107 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E063F #173F06
analogous
#11063F #2E063F #3F0633
triadic
#2E063F #3F2E06 #063F2E
tetradic
#2E063F #3F1106 #173F06 #06333F
square
#2E063F #3F1106 #173F06 #06333F
split-complementary
#2E063F #333F06 #063F11
monochromatic
#14031C #14031C #2E063F #570B77 #8011AF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E063F#FFFFFF#000000##FFFFFF
##2E063F1.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)
#001941
Deuteranopia (green-blind)
#011B3E
Tritanopia (blue-blind)
#2C1423
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2e063f;
/* rgb */ color: rgb(46, 6, 63);
/* oklch */ color: oklch(23.4% 0.103 313.1);
Tailwind
colors: {
  custom: {
    50: '#6a4b74',
    500: '#2e063f',
    950: '#000000',
  },
}
SCSS
$custom: #2e063f;
$custom-light: #6a4b74;
$custom-dark: #000000;
JSON
{
  "hex": "#2e063f",
  "rgb": {
    "r": 46,
    "g": 6,
    "b": 63
  },
  "hsl": {
    "h": 282.105,
    "s": 82.609,
    "l": 13.529
  },
  "oklch": {
    "l": 0.23387,
    "c": 0.10294,
    "h": 313.1
  },
  "luminance": 0.0107
}

Semantic roles & 50–950 ramp

primary
#2E063F
secondary
#3E7F22
accent
#F92F6B
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070108
muted
#7A777B

Preview Lab

Preview with #2E063F

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

Preview Lab → · Contrast checker → · Palette generator →

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