#3F1570#3F1570

#3F1570 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.0% C 0.144 H 298.7°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#3F1570
RGBrgb(63, 21, 112)
HSLhsl(268, 68%, 26%)
HSVhsv(268, 81%, 44%)
CMYKcmyk(43.7%, 81.2%, 0%, 56.1%)
CIE-LABlab(19.07, 39.17, -44.15)
CIE-LCHlch(19.07, 59.02, 311.57°)
OKLaboklab(32.01% 0.0692 -0.1263)
OKLCHoklch(32.01% 0.144 298.7)
XYZxyz(5.2419, 2.7629, 15.5832)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1570 #467015
analogous
#151970 #3F1570 #6C1570
triadic
#3F1570 #703F15 #15703F
tetradic
#3F1570 #701519 #467015 #15706C
square
#3F1570 #701519 #467015 #15706C
split-complementary
#3F1570 #706C15 #197015
monochromatic
#0E051A #220B3C #3F1570 #5C1FA4 #7929D7

Accessibility & contrast

On white

13.53
#3F1570 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#3F1570 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1570
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1570#FFFFFF#000000##FFFFFF
##3F15701.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E73
Deuteranopia (green-blind)
#002D6E
Tritanopia (blue-blind)
#332E42
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #3f1570;
/* rgb */ color: rgb(63, 21, 112);
/* oklch */ color: oklch(32.0% 0.144 298.7);
Tailwind
colors: {
  custom: {
    50: '#7a589a',
    500: '#3f1570',
    950: '#000000',
  },
}
SCSS
$custom: #3f1570;
$custom-light: #7a589a;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1570",
  "rgb": {
    "r": 63,
    "g": 21,
    "b": 112
  },
  "hsl": {
    "h": 267.692,
    "s": 68.421,
    "l": 26.078
  },
  "oklch": {
    "l": 0.32011,
    "c": 0.14401,
    "h": 298.7
  },
  "luminance": 0.02763
}

Semantic roles & 50–950 ramp

primary
#3F1570
secondary
#75A63B
accent
#EB3D9B
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030E
muted
#7C787E

Preview Lab

Preview with #3F1570

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

Preview Lab → · Contrast checker → · Palette generator →

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