#3E1661#3E1661

#3E1661 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.6% C 0.126 H 304.1°. Best body text is #FFFFFF at 14.07:1 contrast (WCAG AA passes).

Color values

HEX#3E1661
RGBrgb(62, 22, 97)
HSLhsl(272, 63%, 23%)
HSVhsv(272, 77%, 38%)
CMYKcmyk(36.1%, 77.3%, 0%, 62%)
CIE-LABlab(17.74, 34.51, -36.50)
CIE-LCHlch(17.74, 50.23, 313.40°)
OKLaboklab(30.63% 0.0705 -0.1039)
OKLCHoklch(30.63% 0.126 304.1)
XYZxyz(4.4307, 2.4610, 11.5486)
Luminance0.0246 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1661 #396116
analogous
#181661 #3E1661 #61165E
triadic
#3E1661 #613E16 #16613E
tetradic
#3E1661 #611816 #396116 #165E61
square
#3E1661 #611816 #396116 #165E61
split-complementary
#3E1661 #5E6116 #166118
monochromatic
#100619 #1E0B2F #3E1661 #5E2193 #7E2DC5

Accessibility & contrast

On white

14.07
#3E1661 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#3E1661 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1661
14.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1661#FFFFFF#000000##FFFFFF
##3E16611.0014.071.4914.07
#FFFFFF14.071.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B63
Deuteranopia (green-blind)
#002B5F
Tritanopia (blue-blind)
#37283A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #3e1661;
/* rgb */ color: rgb(62, 22, 97);
/* oklch */ color: oklch(30.6% 0.126 304.1);
Tailwind
colors: {
  custom: {
    50: '#77578e',
    500: '#3e1661',
    950: '#000000',
  },
}
SCSS
$custom: #3e1661;
$custom-light: #77578e;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1661",
  "rgb": {
    "r": 62,
    "g": 22,
    "b": 97
  },
  "hsl": {
    "h": 272,
    "s": 63.025,
    "l": 23.333
  },
  "oklch": {
    "l": 0.30629,
    "c": 0.12551,
    "h": 304.1
  },
  "luminance": 0.02461
}

Semantic roles & 50–950 ramp

primary
#3E1661
secondary
#66983B
accent
#E6428E
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3E1661

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

Preview Lab → · Contrast checker → · Palette generator →

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