#3E1059#3E1059

#3E1059 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.2% C 0.124 H 309.3°. Best body text is #FFFFFF at 14.76:1 contrast (WCAG AA passes).

Color values

HEX#3E1059
RGBrgb(62, 16, 89)
HSLhsl(278, 70%, 21%)
HSVhsv(278, 82%, 35%)
CMYKcmyk(30.3%, 82%, 0%, 65.1%)
CIE-LABlab(16.09, 35.25, -33.85)
CIE-LCHlch(16.09, 48.87, 316.17°)
OKLaboklab(29.24% 0.0785 -0.096)
OKLCHoklch(29.24% 0.124 309.3)
XYZxyz(3.9747, 2.1161, 9.6483)
Luminance0.0212 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1059 #2B5910
analogous
#191059 #3E1059 #59104F
triadic
#3E1059 #593E10 #10593E
tetradic
#3E1059 #591910 #2B5910 #104F59
square
#3E1059 #591910 #2B5910 #104F59
split-complementary
#3E1059 #4F5910 #105919
monochromatic
#12051A #1A0725 #3E1059 #62198D #8623C1

Accessibility & contrast

On white

14.76
#3E1059 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#3E1059 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1059
14.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1059#FFFFFF#000000##FFFFFF
##3E10591.0014.761.4214.76
#FFFFFF14.761.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265B
Deuteranopia (green-blind)
#002957
Tritanopia (blue-blind)
#3A2234
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #3e1059;
/* rgb */ color: rgb(62, 16, 89);
/* oklch */ color: oklch(29.2% 0.124 309.3);
Tailwind
colors: {
  custom: {
    50: '#775488',
    500: '#3e1059',
    950: '#000000',
  },
}
SCSS
$custom: #3e1059;
$custom-light: #775488;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1059",
  "rgb": {
    "r": 62,
    "g": 16,
    "b": 89
  },
  "hsl": {
    "h": 277.808,
    "s": 69.524,
    "l": 20.588
  },
  "oklch": {
    "l": 0.29245,
    "c": 0.12405,
    "h": 309.3
  },
  "luminance": 0.02116
}

Semantic roles & 50–950 ramp

primary
#3E1059
secondary
#569233
accent
#EC3B7D
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3E1059

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

Preview Lab → · Contrast checker → · Palette generator →

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