#3E2095#3E2095

#3E2095 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.8% C 0.176 H 285.7°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#3E2095
RGBrgb(62, 32, 149)
HSLhsl(255, 65%, 35%)
HSVhsv(255, 79%, 58%)
CMYKcmyk(58.4%, 78.5%, 0%, 41.6%)
CIE-LABlab(24.41, 44.28, -58.75)
CIE-LCHlch(24.41, 73.57, 307.00°)
OKLaboklab(36.82% 0.0475 -0.1692)
OKLCHoklch(36.82% 0.176 285.7)
XYZxyz(7.9263, 4.2266, 28.8261)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2095 #779520
analogous
#203C95 #3E2095 #792095
triadic
#3E2095 #953E20 #20953E
tetradic
#3E2095 #95203C #779520 #209579
square
#3E2095 #95203C #779520 #209579
split-complementary
#3E2095 #957920 #3C9520
monochromatic
#140A30 #291563 #3E2095 #532BC7 #7755DA

Accessibility & contrast

On white

11.38
#3E2095 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#3E2095 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2095
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2095#FFFFFF#000000##FFFFFF
##3E20951.0011.381.8511.38
#FFFFFF11.381.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D98
Deuteranopia (green-blind)
#003693
Tritanopia (blue-blind)
#11425A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #3e2095;
/* rgb */ color: rgb(62, 32, 149);
/* oklch */ color: oklch(36.8% 0.176 285.7);
Tailwind
colors: {
  custom: {
    50: '#7e60b5',
    500: '#3e2095',
    950: '#000000',
  },
}
SCSS
$custom: #3e2095;
$custom-light: #7e60b5;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2095",
  "rgb": {
    "r": 62,
    "g": 32,
    "b": 149
  },
  "hsl": {
    "h": 255.385,
    "s": 64.641,
    "l": 35.49
  },
  "oklch": {
    "l": 0.36822,
    "c": 0.17576,
    "h": 285.7
  },
  "luminance": 0.04227
}

Semantic roles & 50–950 ramp

primary
#3E2095
secondary
#A3BE53
accent
#E840BD
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3E2095

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

Preview Lab → · Contrast checker → · Palette generator →

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