#3E2699#3E2699

#3E2699 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.0% C 0.174 H 283.9°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#3E2699
RGBrgb(62, 38, 153)
HSLhsl(253, 60%, 37%)
HSVhsv(253, 75%, 60%)
CMYKcmyk(59.5%, 75.2%, 0%, 40%)
CIE-LABlab(25.89, 42.39, -58.77)
CIE-LCHlch(25.89, 72.47, 305.80°)
OKLaboklab(37.99% 0.042 -0.1693)
OKLCHoklch(37.99% 0.174 283.9)
XYZxyz(8.4277, 4.7097, 30.5958)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2699 #819926
analogous
#264799 #3E2699 #782699
triadic
#3E2699 #993E26 #26993E
tetradic
#3E2699 #992647 #819926 #269978
square
#3E2699 #992647 #819926 #269978
split-complementary
#3E2699 #997826 #479926
monochromatic
#160E37 #2A1A68 #3E2699 #5232CA #7A62D8

Accessibility & contrast

On white

10.81
#3E2699 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#3E2699 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2699
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2699#FFFFFF#000000##FFFFFF
##3E26991.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419C
Deuteranopia (green-blind)
#003A97
Tritanopia (blue-blind)
#07465D
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3e2699;
/* rgb */ color: rgb(62, 38, 153);
/* oklch */ color: oklch(38.0% 0.174 283.9);
Tailwind
colors: {
  custom: {
    50: '#7e63b8',
    500: '#3e2699',
    950: '#000000',
  },
}
SCSS
$custom: #3e2699;
$custom-light: #7e63b8;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2699",
  "rgb": {
    "r": 62,
    "g": 38,
    "b": 153
  },
  "hsl": {
    "h": 252.522,
    "s": 60.209,
    "l": 37.451
  },
  "oklch": {
    "l": 0.37985,
    "c": 0.17446,
    "h": 283.9
  },
  "luminance": 0.0471
}

Semantic roles & 50–950 ramp

primary
#3E2699
secondary
#A9BD5E
accent
#E344C2
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0511
muted
#7C7A80

Preview Lab

Preview with #3E2699

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

Preview Lab → · Contrast checker → · Palette generator →

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