#3F1464#3F1464

#3F1464 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.8% C 0.132 H 303.9°. Best body text is #FFFFFF at 14.04:1 contrast (WCAG AA passes).

Color values

HEX#3F1464
RGBrgb(63, 20, 100)
HSLhsl(272, 67%, 24%)
HSVhsv(272, 80%, 39%)
CMYKcmyk(37%, 80%, 0%, 60.8%)
CIE-LABlab(17.82, 36.45, -38.35)
CIE-LCHlch(17.82, 52.91, 313.55°)
OKLaboklab(30.79% 0.0734 -0.1093)
OKLCHoklch(30.79% 0.132 303.9)
XYZxyz(4.5998, 2.4772, 12.2899)
Luminance0.0248 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1464 #396414
analogous
#171464 #3F1464 #641461
triadic
#3F1464 #643F14 #14643F
tetradic
#3F1464 #641714 #396414 #146164
square
#3F1464 #641714 #396414 #146164
split-complementary
#3F1464 #616414 #146417
monochromatic
#10051A #1F0A31 #3F1464 #5F1E97 #7F28CA

Accessibility & contrast

On white

14.04
#3F1464 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F1464
14.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1464#FFFFFF#000000##FFFFFF
##3F14641.0014.041.5014.04
#FFFFFF14.041.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f1464;
/* rgb */ color: rgb(63, 20, 100);
/* oklch */ color: oklch(30.8% 0.132 303.9);
Tailwind
colors: {
  custom: {
    50: '#785791',
    500: '#3f1464',
    950: '#000000',
  },
}
SCSS
$custom: #3f1464;
$custom-light: #785791;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1464",
  "rgb": {
    "r": 63,
    "g": 20,
    "b": 100
  },
  "hsl": {
    "h": 272.25,
    "s": 66.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.30794,
    "c": 0.13165,
    "h": 303.9
  },
  "luminance": 0.02477
}

Semantic roles & 50–950 ramp

primary
#3F1464
secondary
#669B38
accent
#EA3E8D
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3F1464

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

Preview Lab → · Contrast checker → · Palette generator →

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