#3F1569#3F1569

#3F1569 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.4% C 0.136 H 301.5°. Best body text is #FFFFFF at 13.79:1 contrast (WCAG AA passes).

Color values

HEX#3F1569
RGBrgb(63, 21, 105)
HSLhsl(270, 67%, 25%)
HSVhsv(270, 80%, 41%)
CMYKcmyk(40%, 80%, 0%, 58.8%)
CIE-LABlab(18.42, 37.30, -40.65)
CIE-LCHlch(18.42, 55.17, 312.54°)
OKLaboklab(31.36% 0.0712 -0.116)
OKLCHoklch(31.36% 0.136 301.5)
XYZxyz(4.8672, 2.6130, 13.6098)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1569 #3F6915
analogous
#151569 #3F1569 #691569
triadic
#3F1569 #693F15 #15693F
tetradic
#3F1569 #691515 #3F6915 #156969
square
#3F1569 #691515 #3F6915 #156969
split-complementary
#3F1569 #696915 #156915
monochromatic
#0F051A #200B36 #3F1569 #5E1F9C #7C29CF

Accessibility & contrast

On white

13.79
#3F1569 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#3F1569 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1569
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1569#FFFFFF#000000##FFFFFF
##3F15691.0013.791.5213.79
#FFFFFF13.791.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6B
Deuteranopia (green-blind)
#002C67
Tritanopia (blue-blind)
#362B3E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #3f1569;
/* rgb */ color: rgb(63, 21, 105);
/* oklch */ color: oklch(31.4% 0.136 301.5);
Tailwind
colors: {
  custom: {
    50: '#795795',
    500: '#3f1569',
    950: '#000000',
  },
}
SCSS
$custom: #3f1569;
$custom-light: #795795;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1569",
  "rgb": {
    "r": 63,
    "g": 21,
    "b": 105
  },
  "hsl": {
    "h": 270,
    "s": 66.667,
    "l": 24.706
  },
  "oklch": {
    "l": 0.31359,
    "c": 0.13611,
    "h": 301.5
  },
  "luminance": 0.02613
}

Semantic roles & 50–950 ramp

primary
#3F1569
secondary
#6DA03A
accent
#EA3E94
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3F1569

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

Preview Lab → · Contrast checker → · Palette generator →

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