#3F1567#3F1567

#3F1567 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.2% C 0.134 H 302.4°. Best body text is #FFFFFF at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#3F1567
RGBrgb(63, 21, 103)
HSLhsl(271, 66%, 24%)
HSVhsv(271, 80%, 40%)
CMYKcmyk(38.8%, 79.6%, 0%, 59.6%)
CIE-LABlab(18.24, 36.78, -39.63)
CIE-LCHlch(18.24, 54.07, 312.86°)
OKLaboklab(31.18% 0.0717 -0.113)
OKLCHoklch(31.18% 0.134 302.4)
XYZxyz(4.7657, 2.5724, 13.0748)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1567 #3D6715
analogous
#161567 #3F1567 #671566
triadic
#3F1567 #673F15 #15673F
tetradic
#3F1567 #671615 #3D6715 #156667
square
#3F1567 #671615 #3D6715 #156667
split-complementary
#3F1567 #666715 #156716
monochromatic
#100519 #200B34 #3F1567 #5E1F9A #7D2ACD

Accessibility & contrast

On white

13.87
#3F1567 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#3F1567 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1567
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1567#FFFFFF#000000##FFFFFF
##3F15671.0013.871.5113.87
#FFFFFF13.871.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C69
Deuteranopia (green-blind)
#002C65
Tritanopia (blue-blind)
#372A3D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #3f1567;
/* rgb */ color: rgb(63, 21, 103);
/* oklch */ color: oklch(31.2% 0.134 302.4);
Tailwind
colors: {
  custom: {
    50: '#795793',
    500: '#3f1567',
    950: '#000000',
  },
}
SCSS
$custom: #3f1567;
$custom-light: #795793;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1567",
  "rgb": {
    "r": 63,
    "g": 21,
    "b": 103
  },
  "hsl": {
    "h": 270.732,
    "s": 66.129,
    "l": 24.314
  },
  "oklch": {
    "l": 0.31177,
    "c": 0.13385,
    "h": 302.4
  },
  "luminance": 0.02572
}

Semantic roles & 50–950 ramp

primary
#3F1567
secondary
#6B9E3A
accent
#E93F92
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3F1567

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

Preview Lab → · Contrast checker → · Palette generator →

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