#3E1364#3E1364

#3E1364 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.5% C 0.133 H 303.3°. Best body text is #FFFFFF at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#3E1364
RGBrgb(62, 19, 100)
HSLhsl(272, 68%, 23%)
HSVhsv(272, 81%, 39%)
CMYKcmyk(38%, 81%, 0%, 60.8%)
CIE-LABlab(17.51, 36.71, -38.86)
CIE-LCHlch(17.51, 53.46, 313.37°)
OKLaboklab(30.55% 0.0728 -0.1108)
OKLCHoklch(30.55% 0.133 303.3)
XYZxyz(4.5192, 2.4100, 12.2812)
Luminance0.0241 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1364 #396413
analogous
#161364 #3E1364 #641361
triadic
#3E1364 #643E13 #13643E
tetradic
#3E1364 #641613 #396413 #136164
square
#3E1364 #641613 #396413 #136164
split-complementary
#3E1364 #616413 #136416
monochromatic
#10051A #1E0931 #3E1364 #5E1D97 #7E27CB

Accessibility & contrast

On white

14.17
#3E1364 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E1364
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1364#FFFFFF#000000##FFFFFF
##3E13641.0014.171.4814.17
#FFFFFF14.171.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A66
Deuteranopia (green-blind)
#002B62
Tritanopia (blue-blind)
#36283B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #3e1364;
/* rgb */ color: rgb(62, 19, 100);
/* oklch */ color: oklch(30.5% 0.133 303.3);
Tailwind
colors: {
  custom: {
    50: '#785691',
    500: '#3e1364',
    950: '#000000',
  },
}
SCSS
$custom: #3e1364;
$custom-light: #785691;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1364",
  "rgb": {
    "r": 62,
    "g": 19,
    "b": 100
  },
  "hsl": {
    "h": 271.852,
    "s": 68.067,
    "l": 23.333
  },
  "oklch": {
    "l": 0.30545,
    "c": 0.13259,
    "h": 303.3
  },
  "luminance": 0.0241
}

Semantic roles & 50–950 ramp

primary
#3E1364
secondary
#669C37
accent
#EB3D8F
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3E1364

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

Preview Lab → · Contrast checker → · Palette generator →

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