#3E1160#3E1160

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

Color values

HEX#3E1160
RGBrgb(62, 17, 96)
HSLhsl(274, 70%, 22%)
HSVhsv(274, 82%, 38%)
CMYKcmyk(35.4%, 82.3%, 0%, 62.4%)
CIE-LABlab(16.84, 36.57, -37.29)
CIE-LCHlch(16.84, 52.23, 314.44°)
OKLaboklab(29.97% 0.0758 -0.1062)
OKLCHoklch(29.97% 0.13 305.5)
XYZxyz(4.2979, 2.2696, 11.2757)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1160 #336011
analogous
#161160 #3E1160 #60115B
triadic
#3E1160 #603E11 #11603E
tetradic
#3E1160 #601611 #336011 #115B60
square
#3E1160 #601611 #336011 #115B60
split-complementary
#3E1160 #5B6011 #116016
monochromatic
#11051A #1C082C #3E1160 #601A94 #8123C8

Accessibility & contrast

On white

14.44
#3E1160 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#3E1160 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1160
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1160#FFFFFF#000000##FFFFFF
##3E11601.0014.441.4514.44
#FFFFFF14.441.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3e1160;
/* rgb */ color: rgb(62, 17, 96);
/* oklch */ color: oklch(30.0% 0.130 305.5);
Tailwind
colors: {
  custom: {
    50: '#77558e',
    500: '#3e1160',
    950: '#000000',
  },
}
SCSS
$custom: #3e1160;
$custom-light: #77558e;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1160",
  "rgb": {
    "r": 62,
    "g": 17,
    "b": 96
  },
  "hsl": {
    "h": 274.177,
    "s": 69.912,
    "l": 22.157
  },
  "oklch": {
    "l": 0.29968,
    "c": 0.13047,
    "h": 305.5
  },
  "luminance": 0.0227
}

Semantic roles & 50–950 ramp

primary
#3E1160
secondary
#5F9934
accent
#ED3B88
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3E1160

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

Preview Lab → · Contrast checker → · Palette generator →

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