#3E165E#3E165E

#3E165E is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.4% C 0.122 H 305.6°. Best body text is #FFFFFF at 14.18:1 contrast (WCAG AA passes).

Color values

HEX#3E165E
RGBrgb(62, 22, 94)
HSLhsl(273, 62%, 23%)
HSVhsv(273, 77%, 37%)
CMYKcmyk(34%, 76.6%, 0%, 63.1%)
CIE-LABlab(17.49, 33.72, -34.91)
CIE-LCHlch(17.49, 48.54, 314.01°)
OKLaboklab(30.37% 0.071 -0.0992)
OKLCHoklch(30.37% 0.122 305.6)
XYZxyz(4.2934, 2.4061, 10.8257)
Luminance0.0241 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E165E #365E16
analogous
#1A165E #3E165E #5E165A
triadic
#3E165E #5E3E16 #165E3E
tetradic
#3E165E #5E1A16 #365E16 #165A5E
square
#3E165E #5E1A16 #365E16 #165A5E
split-complementary
#3E165E #5A5E16 #165E1A
monochromatic
#100619 #1D0A2C #3E165E #5F2290 #7F2DC1

Accessibility & contrast

On white

14.18
#3E165E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E165E
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E165E#FFFFFF#000000##FFFFFF
##3E165E1.0014.181.4814.18
#FFFFFF14.181.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3e165e;
/* rgb */ color: rgb(62, 22, 94);
/* oklch */ color: oklch(30.4% 0.122 305.6);
Tailwind
colors: {
  custom: {
    50: '#77578c',
    500: '#3e165e',
    950: '#000000',
  },
}
SCSS
$custom: #3e165e;
$custom-light: #77578c;
$custom-dark: #000000;
JSON
{
  "hex": "#3e165e",
  "rgb": {
    "r": 62,
    "g": 22,
    "b": 94
  },
  "hsl": {
    "h": 273.333,
    "s": 62.069,
    "l": 22.745
  },
  "oklch": {
    "l": 0.3037,
    "c": 0.12203,
    "h": 305.6
  },
  "luminance": 0.02406
}

Semantic roles & 50–950 ramp

primary
#3E165E
secondary
#63953B
accent
#E5438B
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3E165E

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

Preview Lab → · Contrast checker → · Palette generator →

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