#3E1055#3E1055

#3E1055 is a dark, moderate purple. Relative luminance 0.021; OKLCH L 28.9% C 0.120 H 311.5°. Best body text is #FFFFFF at 14.89:1 contrast (WCAG AA passes).

Color values

HEX#3E1055
RGBrgb(62, 16, 85)
HSLhsl(280, 68%, 20%)
HSVhsv(280, 81%, 33%)
CMYKcmyk(27.1%, 81.2%, 0%, 66.7%)
CIE-LABlab(15.75, 34.28, -31.69)
CIE-LCHlch(15.75, 46.68, 317.25°)
OKLaboklab(28.9% 0.0794 -0.0897)
OKLCHoklch(28.9% 0.12 311.5)
XYZxyz(3.8113, 2.0507, 8.7876)
Luminance0.0205 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1055 #275510
analogous
#1C1055 #3E1055 #55104A
triadic
#3E1055 #553E10 #10553E
tetradic
#3E1055 #551C10 #275510 #104A55
square
#3E1055 #551C10 #275510 #104A55
split-complementary
#3E1055 #4A5510 #10551C
monochromatic
#13051A #180621 #3E1055 #641A89 #8923BC

Accessibility & contrast

On white

14.89
#3E1055 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E1055
14.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1055#FFFFFF#000000##FFFFFF
##3E10551.0014.891.4114.89
#FFFFFF14.891.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002557
Deuteranopia (green-blind)
#052854
Tritanopia (blue-blind)
#3B2032
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3e1055;
/* rgb */ color: rgb(62, 16, 85);
/* oklch */ color: oklch(28.9% 0.120 311.5);
Tailwind
colors: {
  custom: {
    50: '#765485',
    500: '#3e1055',
    950: '#000000',
  },
}
SCSS
$custom: #3e1055;
$custom-light: #765485;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1055",
  "rgb": {
    "r": 62,
    "g": 16,
    "b": 85
  },
  "hsl": {
    "h": 280,
    "s": 68.317,
    "l": 19.804
  },
  "oklch": {
    "l": 0.28905,
    "c": 0.11976,
    "h": 311.5
  },
  "luminance": 0.02051
}

Semantic roles & 50–950 ramp

primary
#3E1055
secondary
#518F32
accent
#EB3D77
background
#F7F5F8
surface
#EDE8EF
border
#C8C4CA
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3E1055

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

Preview Lab → · Contrast checker → · Palette generator →

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