#3E1362#3E1362

#3E1362 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.4% C 0.130 H 304.2°. Best body text is #FFFFFF at 14.24:1 contrast (WCAG AA passes).

Color values

HEX#3E1362
RGBrgb(62, 19, 98)
HSLhsl(273, 68%, 23%)
HSVhsv(273, 81%, 38%)
CMYKcmyk(36.7%, 80.6%, 0%, 61.6%)
CIE-LABlab(17.33, 36.20, -37.83)
CIE-LCHlch(17.33, 52.36, 313.73°)
OKLaboklab(30.36% 0.0733 -0.1078)
OKLCHoklch(30.36% 0.13 304.2)
XYZxyz(4.4236, 2.3717, 11.7777)
Luminance0.0237 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1362 #376213
analogous
#161362 #3E1362 #62135E
triadic
#3E1362 #623E13 #13623E
tetradic
#3E1362 #621613 #376213 #135E62
square
#3E1362 #621613 #376213 #135E62
split-complementary
#3E1362 #5E6213 #136216
monochromatic
#10051A #1E092F #3E1362 #5E1D95 #7F27C9

Accessibility & contrast

On white

14.24
#3E1362 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E1362
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1362#FFFFFF#000000##FFFFFF
##3E13621.0014.241.4714.24
#FFFFFF14.241.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A64
Deuteranopia (green-blind)
#002B60
Tritanopia (blue-blind)
#37273A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #3e1362;
/* rgb */ color: rgb(62, 19, 98);
/* oklch */ color: oklch(30.4% 0.130 304.2);
Tailwind
colors: {
  custom: {
    50: '#77568f',
    500: '#3e1362',
    950: '#000000',
  },
}
SCSS
$custom: #3e1362;
$custom-light: #77568f;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1362",
  "rgb": {
    "r": 62,
    "g": 19,
    "b": 98
  },
  "hsl": {
    "h": 272.658,
    "s": 67.521,
    "l": 22.941
  },
  "oklch": {
    "l": 0.30364,
    "c": 0.13036,
    "h": 304.2
  },
  "luminance": 0.02372
}

Semantic roles & 50–950 ramp

primary
#3E1362
secondary
#649A37
accent
#EA3D8C
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3E1362

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

Preview Lab → · Contrast checker → · Palette generator →

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