#3F2579#3F2579

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

Color values

HEX#3F2579
RGBrgb(63, 37, 121)
HSLhsl(259, 53%, 31%)
HSVhsv(259, 69%, 47%)
CMYKcmyk(47.9%, 69.4%, 0%, 52.5%)
CIE-LABlab(22.86, 33.35, -43.74)
CIE-LCHlch(22.86, 55.00, 307.32°)
OKLaboklab(34.95% 0.051 -0.1252)
OKLCHoklch(34.95% 0.135 292.2)
XYZxyz(6.1617, 3.7602, 18.4866)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2579 #5F7925
analogous
#253579 #3F2579 #692579
triadic
#3F2579 #793F25 #25793F
tetradic
#3F2579 #792535 #5F7925 #257969
square
#3F2579 #792535 #5F7925 #257969
split-complementary
#3F2579 #796925 #357925
monochromatic
#0E081B #27174A #3F2579 #5733A8 #754FC9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3F2579#FFFFFF#000000##FFFFFF
##3F25791.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)
#00387C
Deuteranopia (green-blind)
#003577
Tritanopia (blue-blind)
#2E394B
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #3f2579;
/* rgb */ color: rgb(63, 37, 121);
/* oklch */ color: oklch(35.0% 0.135 292.2);
Tailwind
colors: {
  custom: {
    50: '#7a61a0',
    500: '#3f2579',
    950: '#000000',
  },
}
SCSS
$custom: #3f2579;
$custom-light: #7a61a0;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2579",
  "rgb": {
    "r": 63,
    "g": 37,
    "b": 121
  },
  "hsl": {
    "h": 258.571,
    "s": 53.165,
    "l": 30.98
  },
  "oklch": {
    "l": 0.34951,
    "c": 0.13519,
    "h": 292.2
  },
  "luminance": 0.0376
}

Semantic roles & 50–950 ramp

primary
#3F2579
secondary
#8FAB4E
accent
#DD4BB0
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#0A050F
muted
#7C797E

Preview Lab

Preview with #3F2579

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

Preview Lab → · Contrast checker → · Palette generator →

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