#3E1963#3E1963

#3E1963 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.2% C 0.124 H 302.6°. Best body text is #FFFFFF at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#3E1963
RGBrgb(62, 25, 99)
HSLhsl(270, 60%, 24%)
HSVhsv(270, 75%, 39%)
CMYKcmyk(37.4%, 74.7%, 0%, 61.2%)
CIE-LABlab(18.45, 33.52, -36.66)
CIE-LCHlch(18.45, 49.67, 312.43°)
OKLaboklab(31.19% 0.0667 -0.1044)
OKLCHoklch(31.19% 0.124 302.6)
XYZxyz(4.5858, 2.6202, 12.0661)
Luminance0.0262 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1963 #3E6319
analogous
#191963 #3E1963 #631963
triadic
#3E1963 #633E19 #19633E
tetradic
#3E1963 #631919 #3E6319 #196363
square
#3E1963 #631919 #3E6319 #196363
split-complementary
#3E1963 #636319 #196319
monochromatic
#0F0618 #1F0D32 #3E1963 #5D2594 #7B32C5

Accessibility & contrast

On white

13.78
#3E1963 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#3E1963 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1963
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1963#FFFFFF#000000##FFFFFF
##3E19631.0013.781.5213.78
#FFFFFF13.781.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C65
Deuteranopia (green-blind)
#002D61
Tritanopia (blue-blind)
#362B3C
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #3e1963;
/* rgb */ color: rgb(62, 25, 99);
/* oklch */ color: oklch(31.2% 0.124 302.6);
Tailwind
colors: {
  custom: {
    50: '#775990',
    500: '#3e1963',
    950: '#000000',
  },
}
SCSS
$custom: #3e1963;
$custom-light: #775990;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1963",
  "rgb": {
    "r": 62,
    "g": 25,
    "b": 99
  },
  "hsl": {
    "h": 270,
    "s": 59.677,
    "l": 24.314
  },
  "oklch": {
    "l": 0.31187,
    "c": 0.12387,
    "h": 302.6
  },
  "luminance": 0.0262
}

Semantic roles & 50–950 ramp

primary
#3E1963
secondary
#6C993F
accent
#E34594
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09040C
muted
#7B797D

Preview Lab

Preview with #3E1963

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

Preview Lab → · Contrast checker → · Palette generator →

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