#3E1348#3E1348

#3E1348 is a dark, moderate purple. Relative luminance 0.020; OKLCH L 28.2% C 0.102 H 319.5°. Best body text is #FFFFFF at 15.09:1 contrast (WCAG AA passes).

Color values

HEX#3E1348
RGBrgb(62, 19, 72)
HSLhsl(289, 58%, 18%)
HSVhsv(289, 74%, 28%)
CMYKcmyk(13.9%, 73.6%, 0%, 71.8%)
CIE-LABlab(15.26, 29.81, -23.57)
CIE-LCHlch(15.26, 38.00, 321.67°)
OKLaboklab(28.24% 0.0772 -0.0659)
OKLCHoklch(28.24% 0.102 319.5)
XYZxyz(3.3890, 1.9579, 6.3290)
Luminance0.0196 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1348 #1D4813
analogous
#231348 #3E1348 #481337
triadic
#3E1348 #483E13 #13483E
tetradic
#3E1348 #482313 #1D4813 #133748
square
#3E1348 #482313 #1D4813 #133748
split-complementary
#3E1348 #374813 #134823
monochromatic
#150618 #150618 #3E1348 #682078 #912DA9

Accessibility & contrast

On white

15.09
#3E1348 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#3E1348 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1348
15.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1348#FFFFFF#000000##FFFFFF
##3E13481.0015.091.3915.09
#FFFFFF15.091.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03234A
Deuteranopia (green-blind)
#172847
Tritanopia (blue-blind)
#3E1C2B
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3e1348;
/* rgb */ color: rgb(62, 19, 72);
/* oklch */ color: oklch(28.2% 0.102 319.5);
Tailwind
colors: {
  custom: {
    50: '#75557b',
    500: '#3e1348',
    950: '#000000',
  },
}
SCSS
$custom: #3e1348;
$custom-light: #75557b;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1348",
  "rgb": {
    "r": 62,
    "g": 19,
    "b": 72
  },
  "hsl": {
    "h": 288.679,
    "s": 58.242,
    "l": 17.843
  },
  "oklch": {
    "l": 0.28244,
    "c": 0.10154,
    "h": 319.5
  },
  "luminance": 0.01958
}

Semantic roles & 50–950 ramp

primary
#3E1348
secondary
#448136
accent
#E14664
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#090309
muted
#7B787B

Preview Lab

Preview with #3E1348

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

Preview Lab → · Contrast checker → · Palette generator →

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