#3E165D#3E165D

#3E165D is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.3% C 0.121 H 306.1°. Best body text is #FFFFFF at 14.21:1 contrast (WCAG AA passes).

Color values

HEX#3E165D
RGBrgb(62, 22, 93)
HSLhsl(274, 62%, 23%)
HSVhsv(274, 76%, 36%)
CMYKcmyk(33.3%, 76.3%, 0%, 63.5%)
CIE-LABlab(17.41, 33.46, -34.38)
CIE-LCHlch(17.41, 47.98, 314.22°)
OKLaboklab(30.29% 0.0712 -0.0977)
OKLCHoklch(30.29% 0.121 306.1)
XYZxyz(4.2489, 2.3883, 10.5910)
Luminance0.0239 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E165D #355D16
analogous
#1B165D #3E165D #5D1658
triadic
#3E165D #5D3E16 #165D3E
tetradic
#3E165D #5D1B16 #355D16 #16585D
square
#3E165D #5D1B16 #355D16 #16585D
split-complementary
#3E165D #585D16 #165D1B
monochromatic
#100619 #1D0A2C #3E165D #5F228E #802DC0

Accessibility & contrast

On white

14.21
#3E165D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#3E165D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E165D
14.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E165D#FFFFFF#000000##FFFFFF
##3E165D1.0014.211.4814.21
#FFFFFF14.211.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5F
Deuteranopia (green-blind)
#002B5C
Tritanopia (blue-blind)
#392738
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #3e165d;
/* rgb */ color: rgb(62, 22, 93);
/* oklch */ color: oklch(30.3% 0.121 306.1);
Tailwind
colors: {
  custom: {
    50: '#77578b',
    500: '#3e165d',
    950: '#000000',
  },
}
SCSS
$custom: #3e165d;
$custom-light: #77578b;
$custom-dark: #000000;
JSON
{
  "hex": "#3e165d",
  "rgb": {
    "r": 62,
    "g": 22,
    "b": 93
  },
  "hsl": {
    "h": 273.803,
    "s": 61.739,
    "l": 22.549
  },
  "oklch": {
    "l": 0.30285,
    "c": 0.12088,
    "h": 306.1
  },
  "luminance": 0.02388
}

Semantic roles & 50–950 ramp

primary
#3E165D
secondary
#62943B
accent
#E5438A
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3E165D

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

Preview Lab → · Contrast checker → · Palette generator →

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