#3F2080#3F2080

#3F2080 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.9% C 0.150 H 291.3°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#3F2080
RGBrgb(63, 32, 128)
HSLhsl(259, 60%, 31%)
HSVhsv(259, 75%, 50%)
CMYKcmyk(50.8%, 75%, 0%, 49.8%)
CIE-LABlab(22.47, 38.24, -48.82)
CIE-LCHlch(22.47, 62.01, 308.07°)
OKLaboklab(34.87% 0.0547 -0.1401)
OKLCHoklch(34.87% 0.15 291.3)
XYZxyz(6.4616, 3.6481, 20.7816)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2080 #618020
analogous
#203180 #3F2080 #6F2080
triadic
#3F2080 #803F20 #20803F
tetradic
#3F2080 #802031 #618020 #20806F
square
#3F2080 #802031 #618020 #20806F
split-complementary
#3F2080 #806F20 #318020
monochromatic
#0F081E #27144F #3F2080 #572CB1 #7549D1

Accessibility & contrast

On white

12.14
#3F2080 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#3F2080 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2080
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2080#FFFFFF#000000##FFFFFF
##3F20801.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003783
Deuteranopia (green-blind)
#00347E
Tritanopia (blue-blind)
#2A394E
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #3f2080;
/* rgb */ color: rgb(63, 32, 128);
/* oklch */ color: oklch(34.9% 0.150 291.3);
Tailwind
colors: {
  custom: {
    50: '#7b5fa6',
    500: '#3f2080',
    950: '#000000',
  },
}
SCSS
$custom: #3f2080;
$custom-light: #7b5fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2080",
  "rgb": {
    "r": 63,
    "g": 32,
    "b": 128
  },
  "hsl": {
    "h": 259.375,
    "s": 60,
    "l": 31.373
  },
  "oklch": {
    "l": 0.34865,
    "c": 0.15041,
    "h": 291.3
  },
  "luminance": 0.03648
}

Semantic roles & 50–950 ramp

primary
#3F2080
secondary
#91B349
accent
#E345B0
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #3F2080

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

Preview Lab → · Contrast checker → · Palette generator →

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