#3E0948#3E0948

#3E0948 is a dark, moderate purple. Relative luminance 0.017; OKLCH L 27.2% C 0.115 H 320.6°. Best body text is #FFFFFF at 15.70:1 contrast (WCAG AA passes).

Color values

HEX#3E0948
RGBrgb(62, 9, 72)
HSLhsl(290, 78%, 16%)
HSVhsv(290, 88%, 28%)
CMYKcmyk(13.9%, 87.5%, 0%, 71.8%)
CIE-LABlab(13.75, 34.10, -25.99)
CIE-LCHlch(13.75, 42.88, 322.69°)
OKLaboklab(27.17% 0.0886 -0.0729)
OKLCHoklch(27.17% 0.115 320.6)
XYZxyz(3.2539, 1.6876, 6.2840)
Luminance0.0169 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E0948 #134809
analogous
#1E0948 #3E0948 #480932
triadic
#3E0948 #483E09 #09483E
tetradic
#3E0948 #481E09 #134809 #093248
square
#3E0948 #481E09 #134809 #093248
split-complementary
#3E0948 #324809 #09481E
monochromatic
#17031B #17031B #3E0948 #6D107E #9C17B5

Accessibility & contrast

On white

15.70
#3E0948 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#3E0948 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E0948
15.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E0948#FFFFFF#000000##FFFFFF
##3E09481.0015.701.3415.70
#FFFFFF15.701.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00204A
Deuteranopia (green-blind)
#102547
Tritanopia (blue-blind)
#3E1729
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #3e0948;
/* rgb */ color: rgb(62, 9, 72);
/* oklch */ color: oklch(27.2% 0.115 320.6);
Tailwind
colors: {
  custom: {
    50: '#76507b',
    500: '#3e0948',
    950: '#000000',
  },
}
SCSS
$custom: #3e0948;
$custom-light: #76507b;
$custom-dark: #000000;
JSON
{
  "hex": "#3e0948",
  "rgb": {
    "r": 62,
    "g": 9,
    "b": 72
  },
  "hsl": {
    "h": 290.476,
    "s": 77.778,
    "l": 15.882
  },
  "oklch": {
    "l": 0.27167,
    "c": 0.11477,
    "h": 320.6
  },
  "luminance": 0.01687
}

Semantic roles & 50–950 ramp

primary
#3E0948
secondary
#368527
accent
#F43452
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#090209
muted
#7B787B

Preview Lab

Preview with #3E0948

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

Preview Lab → · Contrast checker → · Palette generator →

#3E0948 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva