#3E1062#3E1062

#3E1062 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.0% C 0.134 H 304.7°. Best body text is #FFFFFF at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#3E1062
RGBrgb(62, 16, 98)
HSLhsl(274, 72%, 22%)
HSVhsv(274, 84%, 38%)
CMYKcmyk(36.7%, 83.7%, 0%, 61.6%)
CIE-LABlab(16.88, 37.50, -38.57)
CIE-LCHlch(16.88, 53.79, 314.19°)
OKLaboklab(30.05% 0.0762 -0.1099)
OKLCHoklch(30.05% 0.134 304.7)
XYZxyz(4.3760, 2.2766, 11.7618)
Luminance0.0228 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1062 #346210
analogous
#151062 #3E1062 #62105D
triadic
#3E1062 #623E10 #10623E
tetradic
#3E1062 #621510 #346210 #105D62
square
#3E1062 #621510 #346210 #105D62
split-complementary
#3E1062 #5D6210 #106215
monochromatic
#11041A #1D072D #3E1062 #5F1997 #8121CB

Accessibility & contrast

On white

14.43
#3E1062 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#3E1062 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1062
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1062#FFFFFF#000000##FFFFFF
##3E10621.0014.431.4614.43
#FFFFFF14.431.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002964
Deuteranopia (green-blind)
#002A60
Tritanopia (blue-blind)
#372639
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #3e1062;
/* rgb */ color: rgb(62, 16, 98);
/* oklch */ color: oklch(30.0% 0.134 304.7);
Tailwind
colors: {
  custom: {
    50: '#78548f',
    500: '#3e1062',
    950: '#000000',
  },
}
SCSS
$custom: #3e1062;
$custom-light: #78548f;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1062",
  "rgb": {
    "r": 62,
    "g": 16,
    "b": 98
  },
  "hsl": {
    "h": 273.659,
    "s": 71.93,
    "l": 22.353
  },
  "oklch": {
    "l": 0.30047,
    "c": 0.13373,
    "h": 304.7
  },
  "luminance": 0.02277
}

Semantic roles & 50–950 ramp

primary
#3E1062
secondary
#619B33
accent
#EF3989
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3E1062

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

Preview Lab → · Contrast checker → · Palette generator →

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