#3E2280#3E2280

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

Color values

HEX#3E2280
RGBrgb(62, 34, 128)
HSLhsl(258, 58%, 32%)
HSVhsv(258, 73%, 50%)
CMYKcmyk(51.6%, 73.4%, 0%, 49.8%)
CIE-LABlab(22.75, 36.98, -48.38)
CIE-LCHlch(22.75, 60.89, 307.39°)
OKLaboklab(35.03% 0.0513 -0.1388)
OKLCHoklch(35.03% 0.148 290.3)
XYZxyz(6.4538, 3.7264, 20.7971)
Luminance0.0373 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2280 #648022
analogous
#223580 #3E2280 #6D2280
triadic
#3E2280 #803E22 #22803E
tetradic
#3E2280 #802235 #648022 #22806D
square
#3E2280 #802235 #648022 #22806D
split-complementary
#3E2280 #806D22 #358022
monochromatic
#0F081F #271550 #3E2280 #552FB0 #744DD0

Accessibility & contrast

On white

12.03
#3E2280 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#3E2280 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2280
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2280#FFFFFF#000000##FFFFFF
##3E22801.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003883
Deuteranopia (green-blind)
#00347E
Tritanopia (blue-blind)
#273A4E
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #3e2280;
/* rgb */ color: rgb(62, 34, 128);
/* oklch */ color: oklch(35.0% 0.148 290.3);
Tailwind
colors: {
  custom: {
    50: '#7a60a6',
    500: '#3e2280',
    950: '#000000',
  },
}
SCSS
$custom: #3e2280;
$custom-light: #7a60a6;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2280",
  "rgb": {
    "r": 62,
    "g": 34,
    "b": 128
  },
  "hsl": {
    "h": 257.872,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.35033,
    "c": 0.148,
    "h": 290.3
  },
  "luminance": 0.03727
}

Semantic roles & 50–950 ramp

primary
#3E2280
secondary
#94B24B
accent
#E147B3
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #3E2280

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

Preview Lab → · Contrast checker → · Palette generator →

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