#3E1860#3E1860

#3E1860 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.8% C 0.122 H 304.2°. Best body text is #FFFFFF at 13.96:1 contrast (WCAG AA passes).

Color values

HEX#3E1860
RGBrgb(62, 24, 96)
HSLhsl(272, 60%, 24%)
HSVhsv(272, 75%, 38%)
CMYKcmyk(35.4%, 75%, 0%, 62.4%)
CIE-LABlab(18.02, 33.23, -35.39)
CIE-LCHlch(18.02, 48.54, 313.20°)
OKLaboklab(30.8% 0.0684 -0.1006)
OKLCHoklch(30.8% 0.122 304.2)
XYZxyz(4.4241, 2.5219, 11.3178)
Luminance0.0252 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1860 #3A6018
analogous
#1A1860 #3E1860 #60185E
triadic
#3E1860 #603E18 #18603E
tetradic
#3E1860 #601A18 #3A6018 #185E60
square
#3E1860 #601A18 #3A6018 #185E60
split-complementary
#3E1860 #5E6018 #18601A
monochromatic
#100618 #1E0C2F #3E1860 #5E2491 #7D30C2

Accessibility & contrast

On white

13.96
#3E1860 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#3E1860 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1860
13.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1860#FFFFFF#000000##FFFFFF
##3E18601.0013.961.5013.96
#FFFFFF13.961.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B62
Deuteranopia (green-blind)
#002C5E
Tritanopia (blue-blind)
#37293A
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #3e1860;
/* rgb */ color: rgb(62, 24, 96);
/* oklch */ color: oklch(30.8% 0.122 304.2);
Tailwind
colors: {
  custom: {
    50: '#77588e',
    500: '#3e1860',
    950: '#000000',
  },
}
SCSS
$custom: #3e1860;
$custom-light: #77588e;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1860",
  "rgb": {
    "r": 62,
    "g": 24,
    "b": 96
  },
  "hsl": {
    "h": 271.667,
    "s": 60,
    "l": 23.529
  },
  "oklch": {
    "l": 0.30798,
    "c": 0.12166,
    "h": 304.2
  },
  "luminance": 0.02522
}

Semantic roles & 50–950 ramp

primary
#3E1860
secondary
#67963D
accent
#E3458F
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3E1860

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

Preview Lab → · Contrast checker → · Palette generator →

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