#2E103B#2E103B

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

Color values

HEX#2E103B
RGBrgb(46, 16, 59)
HSLhsl(282, 57%, 15%)
HSVhsv(282, 73%, 23%)
CMYKcmyk(22%, 72.9%, 0%, 76.9%)
CIE-LABlab(11.04, 23.76, -21.32)
CIE-LCHlch(11.04, 31.92, 318.09°)
OKLaboklab(24.34% 0.0581 -0.0599)
OKLCHoklch(24.34% 0.083 314.1)
XYZxyz(2.1013, 1.2673, 4.2707)
Luminance0.0127 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E103B #1D3B10
analogous
#18103B #2E103B #3B1033
triadic
#2E103B #3B2E10 #103B2E
tetradic
#2E103B #3B1810 #1D3B10 #10333B
square
#2E103B #3B1810 #1D3B10 #10333B
split-complementary
#2E103B #333B10 #103B18
monochromatic
#130718 #130718 #2E103B #541D6B #792A9B

Accessibility & contrast

On white

16.75
#2E103B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E103B
16.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E103B#FFFFFF#000000##FFFFFF
##2E103B1.0016.751.2516.75
#FFFFFF16.751.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021C3C
Deuteranopia (green-blind)
#0E1E3A
Tritanopia (blue-blind)
#2D1823
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2e103b;
/* rgb */ color: rgb(46, 16, 59);
/* oklch */ color: oklch(24.3% 0.083 314.1);
Tailwind
colors: {
  custom: {
    50: '#685071',
    500: '#2e103b',
    950: '#000000',
  },
}
SCSS
$custom: #2e103b;
$custom-light: #685071;
$custom-dark: #000000;
JSON
{
  "hex": "#2e103b",
  "rgb": {
    "r": 46,
    "g": 16,
    "b": 59
  },
  "hsl": {
    "h": 281.86,
    "s": 57.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.2434,
    "c": 0.08346,
    "h": 314.1
  },
  "luminance": 0.01267
}

Semantic roles & 50–950 ramp

primary
#2E103B
secondary
#467532
accent
#E14776
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060207
muted
#7A787A

Preview Lab

Preview with #2E103B

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

Preview Lab → · Contrast checker → · Palette generator →

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