#3E2679#3E2679

#3E2679 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.0% C 0.134 H 291.2°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#3E2679
RGBrgb(62, 38, 121)
HSLhsl(257, 52%, 31%)
HSVhsv(257, 69%, 47%)
CMYKcmyk(48.8%, 68.6%, 0%, 52.5%)
CIE-LABlab(22.97, 32.55, -43.58)
CIE-LCHlch(22.97, 54.39, 306.76°)
OKLaboklab(35% 0.0484 -0.1248)
OKLCHoklch(35% 0.134 291.2)
XYZxyz(6.1299, 3.7906, 18.4941)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2679 #617926
analogous
#263779 #3E2679 #672679
triadic
#3E2679 #793E26 #26793E
tetradic
#3E2679 #792637 #617926 #267967
square
#3E2679 #792637 #617926 #267967
split-complementary
#3E2679 #796726 #377926
monochromatic
#0E091C #26174A #3E2679 #5635A8 #7451C8

Accessibility & contrast

On white

11.94
#3E2679 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#3E2679 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2679
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2679#FFFFFF#000000##FFFFFF
##3E26791.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387C
Deuteranopia (green-blind)
#003577
Tritanopia (blue-blind)
#2C3A4C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #3e2679;
/* rgb */ color: rgb(62, 38, 121);
/* oklch */ color: oklch(35.0% 0.134 291.2);
Tailwind
colors: {
  custom: {
    50: '#7962a0',
    500: '#3e2679',
    950: '#000000',
  },
}
SCSS
$custom: #3e2679;
$custom-light: #7962a0;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2679",
  "rgb": {
    "r": 62,
    "g": 38,
    "b": 121
  },
  "hsl": {
    "h": 257.349,
    "s": 52.201,
    "l": 31.176
  },
  "oklch": {
    "l": 0.35,
    "c": 0.13381,
    "h": 291.2
  },
  "luminance": 0.03791
}

Semantic roles & 50–950 ramp

primary
#3E2679
secondary
#91AB50
accent
#DC4CB2
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#09050F
muted
#7B797E

Preview Lab

Preview with #3E2679

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

Preview Lab → · Contrast checker → · Palette generator →

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