#3E2E86#3E2E86

#3E2E86 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.4% C 0.140 H 285.8°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#3E2E86
RGBrgb(62, 46, 134)
HSLhsl(251, 49%, 35%)
HSVhsv(251, 66%, 53%)
CMYKcmyk(53.7%, 65.7%, 0%, 47.5%)
CIE-LABlab(25.86, 31.77, -47.07)
CIE-LCHlch(25.86, 56.79, 304.02°)
OKLaboklab(37.43% 0.0381 -0.135)
OKLCHoklch(37.43% 0.14 285.8)
XYZxyz(7.2654, 4.6990, 23.0738)
Luminance0.0470 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2E86 #76862E
analogous
#2E4A86 #3E2E86 #6A2E86
triadic
#3E2E86 #863E2E #2E863E
tetradic
#3E2E86 #862E4A #76862E #2E866A
square
#3E2E86 #862E4A #76862E #2E866A
split-complementary
#3E2E86 #866A2E #4A862E
monochromatic
#140F2B #291E58 #3E2E86 #533EB4 #7764CA

Accessibility & contrast

On white

10.83
#3E2E86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E2E86
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2E86#FFFFFF#000000##FFFFFF
##3E2E861.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004089
Deuteranopia (green-blind)
#003B84
Tritanopia (blue-blind)
#224355
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3e2e86;
/* rgb */ color: rgb(62, 46, 134);
/* oklch */ color: oklch(37.4% 0.140 285.8);
Tailwind
colors: {
  custom: {
    50: '#7a68aa',
    500: '#3e2e86',
    950: '#000000',
  },
}
SCSS
$custom: #3e2e86;
$custom-light: #7a68aa;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2e86",
  "rgb": {
    "r": 62,
    "g": 46,
    "b": 134
  },
  "hsl": {
    "h": 250.909,
    "s": 48.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.37433,
    "c": 0.1403,
    "h": 285.8
  },
  "luminance": 0.04699
}

Semantic roles & 50–950 ramp

primary
#3E2E86
secondary
#A2B15F
accent
#D84FC0
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #3E2E86

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

Preview Lab → · Contrast checker → · Palette generator →

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