#3E2380#3E2380

#3E2380 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.2% C 0.147 H 290.0°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#3E2380
RGBrgb(62, 35, 128)
HSLhsl(257, 57%, 32%)
HSVhsv(257, 73%, 50%)
CMYKcmyk(51.6%, 72.7%, 0%, 49.8%)
CIE-LABlab(22.95, 36.42, -48.05)
CIE-LCHlch(22.95, 60.29, 307.16°)
OKLaboklab(35.17% 0.0503 -0.1379)
OKLCHoklch(35.17% 0.147 290)
XYZxyz(6.4828, 3.7844, 20.8068)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2380 #658023
analogous
#233780 #3E2380 #6D2380
triadic
#3E2380 #803E23 #23803E
tetradic
#3E2380 #802337 #658023 #23806D
square
#3E2380 #802337 #658023 #23806D
split-complementary
#3E2380 #806D23 #378023
monochromatic
#0F0920 #271650 #3E2380 #5530B0 #744FCF

Accessibility & contrast

On white

11.95
#3E2380 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#3E2380 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2380
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2380#FFFFFF#000000##FFFFFF
##3E23801.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003883
Deuteranopia (green-blind)
#00357E
Tritanopia (blue-blind)
#273B4F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #3e2380;
/* rgb */ color: rgb(62, 35, 128);
/* oklch */ color: oklch(35.2% 0.147 290.0);
Tailwind
colors: {
  custom: {
    50: '#7a60a6',
    500: '#3e2380',
    950: '#000000',
  },
}
SCSS
$custom: #3e2380;
$custom-light: #7a60a6;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2380",
  "rgb": {
    "r": 62,
    "g": 35,
    "b": 128
  },
  "hsl": {
    "h": 257.419,
    "s": 57.055,
    "l": 31.961
  },
  "oklch": {
    "l": 0.35175,
    "c": 0.14678,
    "h": 290
  },
  "luminance": 0.03785
}

Semantic roles & 50–950 ramp

primary
#3E2380
secondary
#95B24D
accent
#E047B4
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #3E2380

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

Preview Lab → · Contrast checker → · Palette generator →

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