#3E1976#3E1976

#3E1976 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.9% C 0.146 H 295.1°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#3E1976
RGBrgb(62, 25, 118)
HSLhsl(264, 65%, 28%)
HSVhsv(264, 79%, 46%)
CMYKcmyk(47.5%, 78.8%, 0%, 53.7%)
CIE-LABlab(20.15, 38.77, -46.25)
CIE-LCHlch(20.15, 60.35, 309.97°)
OKLaboklab(32.92% 0.0622 -0.1325)
OKLCHoklch(32.92% 0.146 295.1)
XYZxyz(5.6034, 3.0273, 17.4251)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1976 #517619
analogous
#192276 #3E1976 #6C1976
triadic
#3E1976 #763E19 #19763E
tetradic
#3E1976 #761922 #517619 #19766C
square
#3E1976 #761922 #517619 #19766C
split-complementary
#3E1976 #766C19 #227619
monochromatic
#0D0519 #230E43 #3E1976 #5924A8 #7435D4

Accessibility & contrast

On white

13.08
#3E1976 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#3E1976 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1976
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1976#FFFFFF#000000##FFFFFF
##3E19761.0013.081.6113.08
#FFFFFF13.081.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003179
Deuteranopia (green-blind)
#002F74
Tritanopia (blue-blind)
#2E3246
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #3e1976;
/* rgb */ color: rgb(62, 25, 118);
/* oklch */ color: oklch(32.9% 0.146 295.1);
Tailwind
colors: {
  custom: {
    50: '#7a5a9e',
    500: '#3e1976',
    950: '#000000',
  },
}
SCSS
$custom: #3e1976;
$custom-light: #7a5a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1976",
  "rgb": {
    "r": 62,
    "g": 25,
    "b": 118
  },
  "hsl": {
    "h": 263.871,
    "s": 65.035,
    "l": 28.039
  },
  "oklch": {
    "l": 0.32915,
    "c": 0.14642,
    "h": 295.1
  },
  "luminance": 0.03027
}

Semantic roles & 50–950 ramp

primary
#3E1976
secondary
#80AB40
accent
#E840A5
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #3E1976

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

Preview Lab → · Contrast checker → · Palette generator →

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