#3E1054#3E1054

#3E1054 is a dark, moderate purple. Relative luminance 0.020; OKLCH L 28.8% C 0.119 H 312.1°. Best body text is #FFFFFF at 14.93:1 contrast (WCAG AA passes).

Color values

HEX#3E1054
RGBrgb(62, 16, 84)
HSLhsl(281, 68%, 20%)
HSVhsv(281, 81%, 33%)
CMYKcmyk(26.2%, 81%, 0%, 67.1%)
CIE-LABlab(15.67, 34.04, -31.14)
CIE-LCHlch(15.67, 46.14, 317.55°)
OKLaboklab(28.82% 0.0796 -0.0881)
OKLCHoklch(28.82% 0.119 312.1)
XYZxyz(3.7718, 2.0349, 8.5799)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1054 #265410
analogous
#1C1054 #3E1054 #541048
triadic
#3E1054 #543E10 #10543E
tetradic
#3E1054 #541C10 #265410 #104854
square
#3E1054 #541C10 #265410 #104854
split-complementary
#3E1054 #485410 #10541C
monochromatic
#13051A #180621 #3E1054 #641A87 #8A24BB

Accessibility & contrast

On white

14.93
#3E1054 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#3E1054 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1054
14.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1054#FFFFFF#000000##FFFFFF
##3E10541.0014.931.4114.93
#FFFFFF14.931.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002556
Deuteranopia (green-blind)
#062853
Tritanopia (blue-blind)
#3B2031
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3e1054;
/* rgb */ color: rgb(62, 16, 84);
/* oklch */ color: oklch(28.8% 0.119 312.1);
Tailwind
colors: {
  custom: {
    50: '#765485',
    500: '#3e1054',
    950: '#000000',
  },
}
SCSS
$custom: #3e1054;
$custom-light: #765485;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1054",
  "rgb": {
    "r": 62,
    "g": 16,
    "b": 84
  },
  "hsl": {
    "h": 280.588,
    "s": 68,
    "l": 19.608
  },
  "oklch": {
    "l": 0.28821,
    "c": 0.11869,
    "h": 312.1
  },
  "luminance": 0.02035
}

Semantic roles & 50–950 ramp

primary
#3E1054
secondary
#508E32
accent
#EB3D75
background
#F7F5F8
surface
#EDE8EF
border
#C8C4CA
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3E1054

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

Preview Lab → · Contrast checker → · Palette generator →

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