#3E1663#3E1663

#3E1663 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.8% C 0.128 H 303.2°. Best body text is #FFFFFF at 14.00:1 contrast (WCAG AA passes).

Color values

HEX#3E1663
RGBrgb(62, 22, 99)
HSLhsl(271, 64%, 24%)
HSVhsv(271, 78%, 39%)
CMYKcmyk(37.4%, 77.8%, 0%, 61.2%)
CIE-LABlab(17.91, 35.04, -37.54)
CIE-LCHlch(17.91, 51.35, 313.03°)
OKLaboklab(30.8% 0.07 -0.1069)
OKLCHoklch(30.8% 0.128 303.2)
XYZxyz(4.5251, 2.4988, 12.0459)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1663 #3B6316
analogous
#171663 #3E1663 #631661
triadic
#3E1663 #633E16 #16633E
tetradic
#3E1663 #631716 #3B6316 #166163
square
#3E1663 #631716 #3B6316 #166163
split-complementary
#3E1663 #616316 #166317
monochromatic
#100619 #1F0B31 #3E1663 #5D2195 #7D2CC7

Accessibility & contrast

On white

14.00
#3E1663 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#3E1663 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1663
14.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1663#FFFFFF#000000##FFFFFF
##3E16631.0014.001.5014.00
#FFFFFF14.001.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B65
Deuteranopia (green-blind)
#002C61
Tritanopia (blue-blind)
#37293B
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #3e1663;
/* rgb */ color: rgb(62, 22, 99);
/* oklch */ color: oklch(30.8% 0.128 303.2);
Tailwind
colors: {
  custom: {
    50: '#775790',
    500: '#3e1663',
    950: '#000000',
  },
}
SCSS
$custom: #3e1663;
$custom-light: #775790;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1663",
  "rgb": {
    "r": 62,
    "g": 22,
    "b": 99
  },
  "hsl": {
    "h": 271.169,
    "s": 63.636,
    "l": 23.725
  },
  "oklch": {
    "l": 0.30804,
    "c": 0.12782,
    "h": 303.2
  },
  "luminance": 0.02499
}

Semantic roles & 50–950 ramp

primary
#3E1663
secondary
#699A3B
accent
#E74191
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3E1663

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

Preview Lab → · Contrast checker → · Palette generator →

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