#3E2694#3E2694

#3E2694 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.5% C 0.168 H 284.9°. Best body text is #FFFFFF at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#3E2694
RGBrgb(62, 38, 148)
HSLhsl(253, 59%, 36%)
HSVhsv(253, 74%, 58%)
CMYKcmyk(58.1%, 74.3%, 0%, 42%)
CIE-LABlab(25.41, 40.86, -56.50)
CIE-LCHlch(25.41, 69.72, 305.88°)
OKLaboklab(37.49% 0.0432 -0.1627)
OKLCHoklch(37.49% 0.168 284.9)
XYZxyz(8.0234, 4.5480, 28.4663)
Luminance0.0455 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2694 #7C9426
analogous
#264594 #3E2694 #752694
triadic
#3E2694 #943E26 #26943E
tetradic
#3E2694 #942645 #7C9426 #269475
square
#3E2694 #942645 #7C9426 #269475
split-complementary
#3E2694 #947526 #459426
monochromatic
#150D33 #2A1963 #3E2694 #5233C5 #795FD6

Accessibility & contrast

On white

11.00
#3E2694 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#3E2694 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2694
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2694#FFFFFF#000000##FFFFFF
##3E26941.0011.001.9111.00
#FFFFFF11.001.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F97
Deuteranopia (green-blind)
#003992
Tritanopia (blue-blind)
#12445B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3e2694;
/* rgb */ color: rgb(62, 38, 148);
/* oklch */ color: oklch(37.5% 0.168 284.9);
Tailwind
colors: {
  custom: {
    50: '#7d63b4',
    500: '#3e2694',
    950: '#000000',
  },
}
SCSS
$custom: #3e2694;
$custom-light: #7d63b4;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2694",
  "rgb": {
    "r": 62,
    "g": 38,
    "b": 148
  },
  "hsl": {
    "h": 253.091,
    "s": 59.14,
    "l": 36.471
  },
  "oklch": {
    "l": 0.37494,
    "c": 0.1683,
    "h": 284.9
  },
  "luminance": 0.04548
}

Semantic roles & 50–950 ramp

primary
#3E2694
secondary
#A6BB5B
accent
#E245C0
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0511
muted
#7C7A80

Preview Lab

Preview with #3E2694

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

Preview Lab → · Contrast checker → · Palette generator →

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