#2E103C#2E103C

#2E103C is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.4% C 0.085 H 313.3°. Best body text is #FFFFFF at 16.73:1 contrast (WCAG AA passes).

Color values

HEX#2E103C
RGBrgb(46, 16, 60)
HSLhsl(281, 58%, 15%)
HSVhsv(281, 73%, 24%)
CMYKcmyk(23.3%, 73.3%, 0%, 76.5%)
CIE-LABlab(11.12, 24.02, -21.92)
CIE-LCHlch(11.12, 32.52, 317.62°)
OKLaboklab(24.42% 0.0581 -0.0616)
OKLCHoklch(24.42% 0.085 313.3)
XYZxyz(2.1275, 1.2777, 4.4086)
Luminance0.0128 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E103C #1E3C10
analogous
#18103C #2E103C #3C1034
triadic
#2E103C #3C2E10 #103C2E
tetradic
#2E103C #3C1810 #1E3C10 #10343C
square
#2E103C #3C1810 #1E3C10 #10343C
split-complementary
#2E103C #343C10 #103C18
monochromatic
#130618 #130618 #2E103C #531D6C #782A9D

Accessibility & contrast

On white

16.73
#2E103C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#2E103C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E103C
16.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E103C#FFFFFF#000000##FFFFFF
##2E103C1.0016.731.2616.73
#FFFFFF16.731.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011C3D
Deuteranopia (green-blind)
#0D1E3B
Tritanopia (blue-blind)
#2D1824
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2e103c;
/* rgb */ color: rgb(46, 16, 60);
/* oklch */ color: oklch(24.4% 0.085 313.3);
Tailwind
colors: {
  custom: {
    50: '#695072',
    500: '#2e103c',
    950: '#000000',
  },
}
SCSS
$custom: #2e103c;
$custom-light: #695072;
$custom-dark: #000000;
JSON
{
  "hex": "#2e103c",
  "rgb": {
    "r": 46,
    "g": 16,
    "b": 60
  },
  "hsl": {
    "h": 280.909,
    "s": 57.895,
    "l": 14.902
  },
  "oklch": {
    "l": 0.24418,
    "c": 0.0847,
    "h": 313.3
  },
  "luminance": 0.01278
}

Semantic roles & 50–950 ramp

primary
#2E103C
secondary
#487632
accent
#E14778
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060208
muted
#7A787B

Preview Lab

Preview with #2E103C

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

Preview Lab → · Contrast checker → · Palette generator →

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