#3E207A#3E207A

#3E207A is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.2% C 0.143 H 292.4°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#3E207A
RGBrgb(62, 32, 122)
HSLhsl(260, 58%, 30%)
HSVhsv(260, 74%, 48%)
CMYKcmyk(49.2%, 73.8%, 0%, 52.2%)
CIE-LABlab(21.81, 36.29, -46.10)
CIE-LCHlch(21.81, 58.67, 308.21°)
OKLaboklab(34.2% 0.0545 -0.1322)
OKLCHoklch(34.2% 0.143 292.4)
XYZxyz(6.0150, 3.4621, 18.7599)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E207A #5C7A20
analogous
#202F7A #3E207A #6B207A
triadic
#3E207A #7A3E20 #207A3E
tetradic
#3E207A #7A202F #5C7A20 #207A6B
square
#3E207A #7A202F #5C7A20 #207A6B
split-complementary
#3E207A #7A6B20 #2F7A20
monochromatic
#0D0719 #25134A #3E207A #572DAA #7346CE

Accessibility & contrast

On white

12.41
#3E207A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#3E207A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E207A
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E207A#FFFFFF#000000##FFFFFF
##3E207A1.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357D
Deuteranopia (green-blind)
#003278
Tritanopia (blue-blind)
#2B374A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #3e207a;
/* rgb */ color: rgb(62, 32, 122);
/* oklch */ color: oklch(34.2% 0.143 292.4);
Tailwind
colors: {
  custom: {
    50: '#7a5ea1',
    500: '#3e207a',
    950: '#000000',
  },
}
SCSS
$custom: #3e207a;
$custom-light: #7a5ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#3e207a",
  "rgb": {
    "r": 62,
    "g": 32,
    "b": 122
  },
  "hsl": {
    "h": 260,
    "s": 58.442,
    "l": 30.196
  },
  "oklch": {
    "l": 0.34197,
    "c": 0.14297,
    "h": 292.4
  },
  "luminance": 0.03462
}

Semantic roles & 50–950 ramp

primary
#3E207A
secondary
#8CAD49
accent
#E246AE
background
#F7F5FA
surface
#EEE9F3
border
#C9C5CD
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #3E207A

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

Preview Lab → · Contrast checker → · Palette generator →

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