#3E1360#3E1360

#3E1360 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.2% C 0.128 H 305.2°. Best body text is #FFFFFF at 14.32:1 contrast (WCAG AA passes).

Color values

HEX#3E1360
RGBrgb(62, 19, 96)
HSLhsl(274, 67%, 23%)
HSVhsv(274, 80%, 38%)
CMYKcmyk(35.4%, 80.2%, 0%, 62.4%)
CIE-LABlab(17.15, 35.68, -36.79)
CIE-LCHlch(17.15, 51.25, 314.12°)
OKLaboklab(30.19% 0.0738 -0.1047)
OKLCHoklch(30.19% 0.128 305.2)
XYZxyz(4.3303, 2.3344, 11.2865)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1360 #356013
analogous
#171360 #3E1360 #60135C
triadic
#3E1360 #603E13 #13603E
tetradic
#3E1360 #601713 #356013 #135C60
square
#3E1360 #601713 #356013 #135C60
split-complementary
#3E1360 #5C6013 #136017
monochromatic
#10051A #1D092D #3E1360 #5F1D93 #8027C6

Accessibility & contrast

On white

14.32
#3E1360 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#3E1360 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1360
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1360#FFFFFF#000000##FFFFFF
##3E13601.0014.321.4714.32
#FFFFFF14.321.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002962
Deuteranopia (green-blind)
#002A5E
Tritanopia (blue-blind)
#382639
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #3e1360;
/* rgb */ color: rgb(62, 19, 96);
/* oklch */ color: oklch(30.2% 0.128 305.2);
Tailwind
colors: {
  custom: {
    50: '#77568e',
    500: '#3e1360',
    950: '#000000',
  },
}
SCSS
$custom: #3e1360;
$custom-light: #77568e;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1360",
  "rgb": {
    "r": 62,
    "g": 19,
    "b": 96
  },
  "hsl": {
    "h": 273.506,
    "s": 66.957,
    "l": 22.549
  },
  "oklch": {
    "l": 0.30186,
    "c": 0.12813,
    "h": 305.2
  },
  "luminance": 0.02334
}

Semantic roles & 50–950 ramp

primary
#3E1360
secondary
#629837
accent
#EA3E8A
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3E1360

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

Preview Lab → · Contrast checker → · Palette generator →

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