#3F2280#3F2280

#3F2280 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.1% C 0.148 H 290.9°. Best body text is #FFFFFF at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#3F2280
RGBrgb(63, 34, 128)
HSLhsl(259, 58%, 32%)
HSVhsv(259, 73%, 50%)
CMYKcmyk(50.8%, 73.4%, 0%, 49.8%)
CIE-LABlab(22.86, 37.16, -48.19)
CIE-LCHlch(22.86, 60.85, 307.63°)
OKLaboklab(35.14% 0.0528 -0.1383)
OKLCHoklch(35.14% 0.148 290.9)
XYZxyz(6.5171, 3.7591, 20.8001)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2280 #638022
analogous
#223480 #3F2280 #6E2280
triadic
#3F2280 #803F22 #22803F
tetradic
#3F2280 #802234 #638022 #22806E
square
#3F2280 #802234 #638022 #22806E
split-complementary
#3F2280 #806E22 #348022
monochromatic
#0F081F #271550 #3F2280 #572FB0 #754DD0

Accessibility & contrast

On white

11.99
#3F2280 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F2280
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2280#FFFFFF#000000##FFFFFF
##3F22801.0011.991.7511.99
#FFFFFF11.991.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f2280;
/* rgb */ color: rgb(63, 34, 128);
/* oklch */ color: oklch(35.1% 0.148 290.9);
Tailwind
colors: {
  custom: {
    50: '#7b60a6',
    500: '#3f2280',
    950: '#000000',
  },
}
SCSS
$custom: #3f2280;
$custom-light: #7b60a6;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2280",
  "rgb": {
    "r": 63,
    "g": 34,
    "b": 128
  },
  "hsl": {
    "h": 258.511,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.35139,
    "c": 0.148,
    "h": 290.9
  },
  "luminance": 0.03759
}

Semantic roles & 50–950 ramp

primary
#3F2280
secondary
#93B24B
accent
#E147B2
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #3F2280

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

Preview Lab → · Contrast checker → · Palette generator →

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