#3E1460#3E1460

#3E1460 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.3% C 0.127 H 305.0°. Best body text is #FFFFFF at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#3E1460
RGBrgb(62, 20, 96)
HSLhsl(273, 66%, 23%)
HSVhsv(273, 79%, 38%)
CMYKcmyk(35.4%, 79.2%, 0%, 62.4%)
CIE-LABlab(17.32, 35.22, -36.53)
CIE-LCHlch(17.32, 50.74, 313.95°)
OKLaboklab(30.3% 0.0728 -0.1039)
OKLCHoklch(30.3% 0.127 305)
XYZxyz(4.3476, 2.3690, 11.2923)
Luminance0.0237 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1460 #366014
analogous
#181460 #3E1460 #60145C
triadic
#3E1460 #603E14 #14603E
tetradic
#3E1460 #601814 #366014 #145C60
square
#3E1460 #601814 #366014 #145C60
split-complementary
#3E1460 #5C6014 #146018
monochromatic
#100519 #1D092D #3E1460 #5F1F93 #7F29C5

Accessibility & contrast

On white

14.25
#3E1460 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#3E1460 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1460
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1460#FFFFFF#000000##FFFFFF
##3E14601.0014.251.4714.25
#FFFFFF14.251.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002962
Deuteranopia (green-blind)
#002B5E
Tritanopia (blue-blind)
#382739
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #3e1460;
/* rgb */ color: rgb(62, 20, 96);
/* oklch */ color: oklch(30.3% 0.127 305.0);
Tailwind
colors: {
  custom: {
    50: '#77568e',
    500: '#3e1460',
    950: '#000000',
  },
}
SCSS
$custom: #3e1460;
$custom-light: #77568e;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1460",
  "rgb": {
    "r": 62,
    "g": 20,
    "b": 96
  },
  "hsl": {
    "h": 273.158,
    "s": 65.517,
    "l": 22.745
  },
  "oklch": {
    "l": 0.30301,
    "c": 0.1269,
    "h": 305
  },
  "luminance": 0.02369
}

Semantic roles & 50–950 ramp

primary
#3E1460
secondary
#639838
accent
#E83F8B
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3E1460

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

Preview Lab → · Contrast checker → · Palette generator →

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