#3F2479#3F2479

#3F2479 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 34.8% C 0.137 H 292.4°. Best body text is #FFFFFF at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#3F2479
RGBrgb(63, 36, 121)
HSLhsl(259, 54%, 31%)
HSVhsv(259, 70%, 47%)
CMYKcmyk(47.9%, 70.2%, 0%, 52.5%)
CIE-LABlab(22.65, 33.93, -44.09)
CIE-LCHlch(22.65, 55.63, 307.58°)
OKLaboklab(34.8% 0.0521 -0.1262)
OKLCHoklch(34.8% 0.137 292.4)
XYZxyz(6.1310, 3.6988, 18.4764)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2479 #5E7924
analogous
#243379 #3F2479 #692479
triadic
#3F2479 #793F24 #24793F
tetradic
#3F2479 #792433 #5E7924 #247969
square
#3F2479 #792433 #5E7924 #247969
split-complementary
#3F2479 #796924 #337924
monochromatic
#0E081B #26164A #3F2479 #5832A8 #754DCA

Accessibility & contrast

On white

12.07
#3F2479 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#3F2479 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2479
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2479#FFFFFF#000000##FFFFFF
##3F24791.0012.071.7412.07
#FFFFFF12.071.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377C
Deuteranopia (green-blind)
#003477
Tritanopia (blue-blind)
#2E394B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #3f2479;
/* rgb */ color: rgb(63, 36, 121);
/* oklch */ color: oklch(34.8% 0.137 292.4);
Tailwind
colors: {
  custom: {
    50: '#7a61a0',
    500: '#3f2479',
    950: '#000000',
  },
}
SCSS
$custom: #3f2479;
$custom-light: #7a61a0;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2479",
  "rgb": {
    "r": 63,
    "g": 36,
    "b": 121
  },
  "hsl": {
    "h": 259.059,
    "s": 54.14,
    "l": 30.784
  },
  "oklch": {
    "l": 0.34799,
    "c": 0.13655,
    "h": 292.4
  },
  "luminance": 0.03699
}

Semantic roles & 50–950 ramp

primary
#3F2479
secondary
#8EAC4D
accent
#DE4AAF
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#0A050F
muted
#7C797E

Preview Lab

Preview with #3F2479

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

Preview Lab → · Contrast checker → · Palette generator →

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