#3F1564#3F1564

#3F1564 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.9% C 0.130 H 303.7°. Best body text is #FFFFFF at 13.98:1 contrast (WCAG AA passes).

Color values

HEX#3F1564
RGBrgb(63, 21, 100)
HSLhsl(272, 65%, 24%)
HSVhsv(272, 79%, 39%)
CMYKcmyk(37%, 79%, 0%, 60.8%)
CIE-LABlab(17.98, 35.99, -38.09)
CIE-LCHlch(17.98, 52.40, 313.38°)
OKLaboklab(30.91% 0.0724 -0.1085)
OKLCHoklch(30.91% 0.13 303.7)
XYZxyz(4.6178, 2.5132, 12.2959)
Luminance0.0251 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1564 #3A6415
analogous
#181564 #3F1564 #641561
triadic
#3F1564 #643F15 #15643F
tetradic
#3F1564 #641815 #3A6415 #156164
square
#3F1564 #641815 #3A6415 #156164
split-complementary
#3F1564 #616415 #156418
monochromatic
#100519 #1F0A31 #3F1564 #5F2097 #7F2AC9

Accessibility & contrast

On white

13.98
#3F1564 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#3F1564 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1564
13.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1564#FFFFFF#000000##FFFFFF
##3F15641.0013.981.5013.98
#FFFFFF13.981.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B66
Deuteranopia (green-blind)
#002C62
Tritanopia (blue-blind)
#38293B
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #3f1564;
/* rgb */ color: rgb(63, 21, 100);
/* oklch */ color: oklch(30.9% 0.130 303.7);
Tailwind
colors: {
  custom: {
    50: '#785791',
    500: '#3f1564',
    950: '#000000',
  },
}
SCSS
$custom: #3f1564;
$custom-light: #785791;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1564",
  "rgb": {
    "r": 63,
    "g": 21,
    "b": 100
  },
  "hsl": {
    "h": 271.899,
    "s": 65.289,
    "l": 23.725
  },
  "oklch": {
    "l": 0.30909,
    "c": 0.13044,
    "h": 303.7
  },
  "luminance": 0.02513
}

Semantic roles & 50–950 ramp

primary
#3F1564
secondary
#679B3A
accent
#E8408F
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3F1564

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

Preview Lab → · Contrast checker → · Palette generator →

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