#3E2695#3E2695

#3E2695 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.6% C 0.170 H 284.7°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#3E2695
RGBrgb(62, 38, 149)
HSLhsl(253, 59%, 37%)
HSVhsv(253, 74%, 58%)
CMYKcmyk(58.4%, 74.5%, 0%, 41.6%)
CIE-LABlab(25.50, 41.17, -56.95)
CIE-LCHlch(25.50, 70.27, 305.86°)
OKLaboklab(37.59% 0.043 -0.164)
OKLCHoklch(37.59% 0.17 284.7)
XYZxyz(8.1029, 4.5798, 28.8850)
Luminance0.0458 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2695 #7D9526
analogous
#264695 #3E2695 #762695
triadic
#3E2695 #953E26 #26953E
tetradic
#3E2695 #952646 #7D9526 #269576
square
#3E2695 #952646 #7D9526 #269576
split-complementary
#3E2695 #957626 #469526
monochromatic
#150D33 #2A1A64 #3E2695 #5232C6 #795FD6

Accessibility & contrast

On white

10.96
#3E2695 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#3E2695 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2695
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2695#FFFFFF#000000##FFFFFF
##3E26951.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004098
Deuteranopia (green-blind)
#003993
Tritanopia (blue-blind)
#10445B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3e2695;
/* rgb */ color: rgb(62, 38, 149);
/* oklch */ color: oklch(37.6% 0.170 284.7);
Tailwind
colors: {
  custom: {
    50: '#7e63b5',
    500: '#3e2695',
    950: '#000000',
  },
}
SCSS
$custom: #3e2695;
$custom-light: #7e63b5;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2695",
  "rgb": {
    "r": 62,
    "g": 38,
    "b": 149
  },
  "hsl": {
    "h": 252.973,
    "s": 59.358,
    "l": 36.667
  },
  "oklch": {
    "l": 0.37592,
    "c": 0.16954,
    "h": 284.7
  },
  "luminance": 0.0458
}

Semantic roles & 50–950 ramp

primary
#3E2695
secondary
#A7BB5B
accent
#E345C1
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0511
muted
#7C7A80

Preview Lab

Preview with #3E2695

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

Preview Lab → · Contrast checker → · Palette generator →

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