#2E103A#2E103A

#2E103A is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.3% C 0.082 H 315.0°. Best body text is #FFFFFF at 16.78:1 contrast (WCAG AA passes).

Color values

HEX#2E103A
RGBrgb(46, 16, 58)
HSLhsl(283, 57%, 15%)
HSVhsv(283, 72%, 23%)
CMYKcmyk(20.7%, 72.4%, 0%, 77.3%)
CIE-LABlab(10.97, 23.50, -20.73)
CIE-LCHlch(10.97, 31.33, 318.59°)
OKLaboklab(24.26% 0.0581 -0.0581)
OKLCHoklch(24.26% 0.082 315)
XYZxyz(2.0756, 1.2570, 4.1355)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E103A #1C3A10
analogous
#19103A #2E103A #3A1031
triadic
#2E103A #3A2E10 #103A2E
tetradic
#2E103A #3A1910 #1C3A10 #10313A
square
#2E103A #3A1910 #1C3A10 #10313A
split-complementary
#2E103A #313A10 #103A19
monochromatic
#130718 #130718 #2E103A #541D6A #7A2A9A

Accessibility & contrast

On white

16.78
#2E103A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#2E103A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E103A
16.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E103A#FFFFFF#000000##FFFFFF
##2E103A1.0016.781.2516.78
#FFFFFF16.781.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031C3B
Deuteranopia (green-blind)
#0F1E39
Tritanopia (blue-blind)
#2D1823
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2e103a;
/* rgb */ color: rgb(46, 16, 58);
/* oklch */ color: oklch(24.3% 0.082 315.0);
Tailwind
colors: {
  custom: {
    50: '#685070',
    500: '#2e103a',
    950: '#000000',
  },
}
SCSS
$custom: #2e103a;
$custom-light: #685070;
$custom-dark: #000000;
JSON
{
  "hex": "#2e103a",
  "rgb": {
    "r": 46,
    "g": 16,
    "b": 58
  },
  "hsl": {
    "h": 282.857,
    "s": 56.757,
    "l": 14.51
  },
  "oklch": {
    "l": 0.24263,
    "c": 0.08222,
    "h": 315
  },
  "luminance": 0.01257
}

Semantic roles & 50–950 ramp

primary
#2E103A
secondary
#457432
accent
#E04873
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060207
muted
#7A787A

Preview Lab

Preview with #2E103A

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

Preview Lab → · Contrast checker → · Palette generator →

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