#3E2079#3E2079

#3E2079 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.1% C 0.142 H 292.7°. Best body text is #FFFFFF at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#3E2079
RGBrgb(62, 32, 121)
HSLhsl(260, 58%, 30%)
HSVhsv(260, 74%, 47%)
CMYKcmyk(48.8%, 73.6%, 0%, 52.5%)
CIE-LABlab(21.72, 36.00, -45.61)
CIE-LCHlch(21.72, 58.11, 308.28°)
OKLaboklab(34.11% 0.0547 -0.1307)
OKLCHoklch(34.11% 0.142 292.7)
XYZxyz(5.9534, 3.4374, 18.4353)
Luminance0.0344 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2079 #5B7920
analogous
#202E79 #3E2079 #6B2079
triadic
#3E2079 #793E20 #20793E
tetradic
#3E2079 #79202E #5B7920 #20796B
square
#3E2079 #79202E #5B7920 #20796B
split-complementary
#3E2079 #796B20 #2E7920
monochromatic
#0C0618 #251349 #3E2079 #572DA9 #7345CE

Accessibility & contrast

On white

12.44
#3E2079 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#3E2079 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2079
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2079#FFFFFF#000000##FFFFFF
##3E20791.0012.441.6912.44
#FFFFFF12.441.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357C
Deuteranopia (green-blind)
#003277
Tritanopia (blue-blind)
#2C374A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #3e2079;
/* rgb */ color: rgb(62, 32, 121);
/* oklch */ color: oklch(34.1% 0.142 292.7);
Tailwind
colors: {
  custom: {
    50: '#795ea0',
    500: '#3e2079',
    950: '#000000',
  },
}
SCSS
$custom: #3e2079;
$custom-light: #795ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2079",
  "rgb": {
    "r": 62,
    "g": 32,
    "b": 121
  },
  "hsl": {
    "h": 260.225,
    "s": 58.17,
    "l": 30
  },
  "oklch": {
    "l": 0.34106,
    "c": 0.14172,
    "h": 292.7
  },
  "luminance": 0.03438
}

Semantic roles & 50–950 ramp

primary
#3E2079
secondary
#8BAC49
accent
#E146AD
background
#F7F5FA
surface
#EEE9F3
border
#C9C5CD
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #3E2079

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

Preview Lab → · Contrast checker → · Palette generator →

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