#3E1056#3E1056

#3E1056 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.0% C 0.121 H 310.9°. Best body text is #FFFFFF at 14.86:1 contrast (WCAG AA passes).

Color values

HEX#3E1056
RGBrgb(62, 16, 86)
HSLhsl(279, 69%, 20%)
HSVhsv(279, 81%, 34%)
CMYKcmyk(27.9%, 81.4%, 0%, 66.3%)
CIE-LABlab(15.83, 34.52, -32.23)
CIE-LCHlch(15.83, 47.23, 316.97°)
OKLaboklab(28.99% 0.0792 -0.0913)
OKLCHoklch(28.99% 0.121 310.9)
XYZxyz(3.8513, 2.0667, 8.9983)
Luminance0.0207 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1056 #285610
analogous
#1B1056 #3E1056 #56104B
triadic
#3E1056 #563E10 #10563E
tetradic
#3E1056 #561B10 #285610 #104B56
square
#3E1056 #561B10 #285610 #104B56
split-complementary
#3E1056 #4B5610 #10561B
monochromatic
#13051A #190622 #3E1056 #631A8A #8823BD

Accessibility & contrast

On white

14.86
#3E1056 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E1056
14.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1056#FFFFFF#000000##FFFFFF
##3E10561.0014.861.4114.86
#FFFFFF14.861.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3e1056;
/* rgb */ color: rgb(62, 16, 86);
/* oklch */ color: oklch(29.0% 0.121 310.9);
Tailwind
colors: {
  custom: {
    50: '#775486',
    500: '#3e1056',
    950: '#000000',
  },
}
SCSS
$custom: #3e1056;
$custom-light: #775486;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1056",
  "rgb": {
    "r": 62,
    "g": 16,
    "b": 86
  },
  "hsl": {
    "h": 279.429,
    "s": 68.627,
    "l": 20
  },
  "oklch": {
    "l": 0.28989,
    "c": 0.12083,
    "h": 310.9
  },
  "luminance": 0.02067
}

Semantic roles & 50–950 ramp

primary
#3E1056
secondary
#528F32
accent
#EB3C78
background
#F7F5F8
surface
#EDE8EF
border
#C8C4CA
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3E1056

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

Preview Lab → · Contrast checker → · Palette generator →

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