#3E1677#3E1677

#3E1677 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.7% C 0.151 H 295.3°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#3E1677
RGBrgb(62, 22, 119)
HSLhsl(265, 69%, 28%)
HSVhsv(265, 82%, 47%)
CMYKcmyk(47.9%, 81.5%, 0%, 53.3%)
CIE-LABlab(19.76, 40.45, -47.54)
CIE-LCHlch(19.76, 62.42, 310.39°)
OKLaboklab(32.67% 0.0645 -0.1363)
OKLCHoklch(32.67% 0.151 295.3)
XYZxyz(5.6024, 2.9297, 17.7195)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1677 #4F7716
analogous
#161F77 #3E1677 #6E1677
triadic
#3E1677 #773E16 #16773E
tetradic
#3E1677 #77161F #4F7716 #16776E
square
#3E1677 #77161F #4F7716 #16776E
split-complementary
#3E1677 #776E16 #1F7716
monochromatic
#0D051A #230C43 #3E1677 #5920AB #752FD9

Accessibility & contrast

On white

13.24
#3E1677 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#3E1677 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1677
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1677#FFFFFF#000000##FFFFFF
##3E16771.0013.241.5913.24
#FFFFFF13.241.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00307A
Deuteranopia (green-blind)
#002E75
Tritanopia (blue-blind)
#2E3146
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #3e1677;
/* rgb */ color: rgb(62, 22, 119);
/* oklch */ color: oklch(32.7% 0.151 295.3);
Tailwind
colors: {
  custom: {
    50: '#7a599f',
    500: '#3e1677',
    950: '#000000',
  },
}
SCSS
$custom: #3e1677;
$custom-light: #7a599f;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1677",
  "rgb": {
    "r": 62,
    "g": 22,
    "b": 119
  },
  "hsl": {
    "h": 264.742,
    "s": 68.794,
    "l": 27.647
  },
  "oklch": {
    "l": 0.3267,
    "c": 0.15078,
    "h": 295.3
  },
  "luminance": 0.0293
}

Semantic roles & 50–950 ramp

primary
#3E1677
secondary
#7EAC3C
accent
#EC3CA3
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040F
muted
#7C797E

Preview Lab

Preview with #3E1677

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

Preview Lab → · Contrast checker → · Palette generator →

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