#3E2083#3E2083

#3E2083 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.0% C 0.154 H 289.9°. Best body text is #FFFFFF at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#3E2083
RGBrgb(62, 32, 131)
HSLhsl(258, 61%, 32%)
HSVhsv(258, 76%, 51%)
CMYKcmyk(52.7%, 75.6%, 0%, 48.6%)
CIE-LABlab(22.64, 38.95, -50.45)
CIE-LCHlch(22.64, 63.74, 307.68°)
OKLaboklab(35.04% 0.0524 -0.1449)
OKLCHoklch(35.04% 0.154 289.9)
XYZxyz(6.5987, 3.6956, 21.8340)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2083 #658320
analogous
#203483 #3E2083 #702083
triadic
#3E2083 #833E20 #20833E
tetradic
#3E2083 #832034 #658320 #208370
square
#3E2083 #832034 #658320 #208370
split-complementary
#3E2083 #837020 #348320
monochromatic
#0F0821 #271452 #3E2083 #552CB4 #744AD3

Accessibility & contrast

On white

12.07
#3E2083 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#3E2083 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2083
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2083#FFFFFF#000000##FFFFFF
##3E20831.0012.071.7412.07
#FFFFFF12.071.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003886
Deuteranopia (green-blind)
#003481
Tritanopia (blue-blind)
#253B4F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #3e2083;
/* rgb */ color: rgb(62, 32, 131);
/* oklch */ color: oklch(35.0% 0.154 289.9);
Tailwind
colors: {
  custom: {
    50: '#7b5fa8',
    500: '#3e2083',
    950: '#000000',
  },
}
SCSS
$custom: #3e2083;
$custom-light: #7b5fa8;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2083",
  "rgb": {
    "r": 62,
    "g": 32,
    "b": 131
  },
  "hsl": {
    "h": 258.182,
    "s": 60.736,
    "l": 31.961
  },
  "oklch": {
    "l": 0.35042,
    "c": 0.15409,
    "h": 289.9
  },
  "luminance": 0.03696
}

Semantic roles & 50–950 ramp

primary
#3E2083
secondary
#95B649
accent
#E444B3
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #3E2083

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

Preview Lab → · Contrast checker → · Palette generator →

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