#3E1361#3E1361

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

Color values

HEX#3E1361
RGBrgb(62, 19, 97)
HSLhsl(273, 67%, 23%)
HSVhsv(273, 80%, 38%)
CMYKcmyk(36.1%, 80.4%, 0%, 62%)
CIE-LABlab(17.24, 35.94, -37.31)
CIE-LCHlch(17.24, 51.80, 313.93°)
OKLaboklab(30.28% 0.0736 -0.1062)
OKLCHoklch(30.28% 0.129 304.7)
XYZxyz(4.3767, 2.3530, 11.5305)
Luminance0.0235 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1361 #366113
analogous
#171361 #3E1361 #61135D
triadic
#3E1361 #613E13 #13613E
tetradic
#3E1361 #611713 #366113 #135D61
square
#3E1361 #611713 #366113 #135D61
split-complementary
#3E1361 #5D6113 #136117
monochromatic
#10051A #1D092E #3E1361 #5F1D94 #7F27C7

Accessibility & contrast

On white

14.28
#3E1361 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E1361
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1361#FFFFFF#000000##FFFFFF
##3E13611.0014.281.4714.28
#FFFFFF14.281.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002963
Deuteranopia (green-blind)
#002A5F
Tritanopia (blue-blind)
#372739
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #3e1361;
/* rgb */ color: rgb(62, 19, 97);
/* oklch */ color: oklch(30.3% 0.129 304.7);
Tailwind
colors: {
  custom: {
    50: '#77568f',
    500: '#3e1361',
    950: '#000000',
  },
}
SCSS
$custom: #3e1361;
$custom-light: #77568f;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1361",
  "rgb": {
    "r": 62,
    "g": 19,
    "b": 97
  },
  "hsl": {
    "h": 273.077,
    "s": 67.241,
    "l": 22.745
  },
  "oklch": {
    "l": 0.30275,
    "c": 0.12925,
    "h": 304.7
  },
  "luminance": 0.02353
}

Semantic roles & 50–950 ramp

primary
#3E1361
secondary
#639937
accent
#EA3E8B
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3E1361

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

Preview Lab → · Contrast checker → · Palette generator →

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