#3E1354#3E1354

#3E1354 is a dark, moderate violet. Relative luminance 0.021; OKLCH L 29.2% C 0.115 H 311.6°. Best body text is #FFFFFF at 14.73:1 contrast (WCAG AA passes).

Color values

HEX#3E1354
RGBrgb(62, 19, 84)
HSLhsl(280, 63%, 20%)
HSVhsv(280, 77%, 33%)
CMYKcmyk(26.2%, 77.4%, 0%, 67.1%)
CIE-LABlab(16.16, 32.66, -30.36)
CIE-LCHlch(16.16, 44.59, 317.09°)
OKLaboklab(29.17% 0.0762 -0.0858)
OKLCHoklch(29.17% 0.115 311.6)
XYZxyz(3.8194, 2.1301, 8.5957)
Luminance0.0213 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1354 #295413
analogous
#1D1354 #3E1354 #54134A
triadic
#3E1354 #543E13 #13543E
tetradic
#3E1354 #541D13 #295413 #134A54
square
#3E1354 #541D13 #295413 #134A54
split-complementary
#3E1354 #4A5413 #13541D
monochromatic
#120619 #190822 #3E1354 #631E86 #882AB8

Accessibility & contrast

On white

14.73
#3E1354 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#3E1354 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1354
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1354#FFFFFF#000000##FFFFFF
##3E13541.0014.731.4314.73
#FFFFFF14.731.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002656
Deuteranopia (green-blind)
#0A2953
Tritanopia (blue-blind)
#3B2132
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #3e1354;
/* rgb */ color: rgb(62, 19, 84);
/* oklch */ color: oklch(29.2% 0.115 311.6);
Tailwind
colors: {
  custom: {
    50: '#765585',
    500: '#3e1354',
    950: '#000000',
  },
}
SCSS
$custom: #3e1354;
$custom-light: #765585;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1354",
  "rgb": {
    "r": 62,
    "g": 19,
    "b": 84
  },
  "hsl": {
    "h": 279.692,
    "s": 63.107,
    "l": 20.196
  },
  "oklch": {
    "l": 0.29166,
    "c": 0.11475,
    "h": 311.6
  },
  "luminance": 0.0213
}

Semantic roles & 50–950 ramp

primary
#3E1354
secondary
#538C36
accent
#E64279
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3E1354

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

Preview Lab → · Contrast checker → · Palette generator →

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