#3F1573#3F1573

#3F1573 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.3% C 0.147 H 297.6°. Best body text is #FFFFFF at 13.41:1 contrast (WCAG AA passes).

Color values

HEX#3F1573
RGBrgb(63, 21, 115)
HSLhsl(267, 69%, 27%)
HSVhsv(267, 82%, 45%)
CMYKcmyk(45.2%, 81.7%, 0%, 54.9%)
CIE-LABlab(19.35, 39.97, -45.63)
CIE-LCHlch(19.35, 60.66, 311.22°)
OKLaboklab(32.3% 0.0682 -0.1306)
OKLCHoklch(32.3% 0.147 297.6)
XYZxyz(5.4118, 2.8308, 16.4776)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1573 #497315
analogous
#151A73 #3F1573 #6E1573
triadic
#3F1573 #733F15 #15733F
tetradic
#3F1573 #73151A #497315 #15736E
square
#3F1573 #73151A #497315 #15736E
split-complementary
#3F1573 #736E15 #1A7315
monochromatic
#0E051A #230C3F #3F1573 #5B1EA7 #782AD8

Accessibility & contrast

On white

13.41
#3F1573 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#3F1573 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1573
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1573#FFFFFF#000000##FFFFFF
##3F15731.0013.411.5713.41
#FFFFFF13.411.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F76
Deuteranopia (green-blind)
#002E71
Tritanopia (blue-blind)
#312F44
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #3f1573;
/* rgb */ color: rgb(63, 21, 115);
/* oklch */ color: oklch(32.3% 0.147 297.6);
Tailwind
colors: {
  custom: {
    50: '#7a589c',
    500: '#3f1573',
    950: '#000000',
  },
}
SCSS
$custom: #3f1573;
$custom-light: #7a589c;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1573",
  "rgb": {
    "r": 63,
    "g": 21,
    "b": 115
  },
  "hsl": {
    "h": 266.809,
    "s": 69.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.32298,
    "c": 0.14738,
    "h": 297.6
  },
  "luminance": 0.02831
}

Semantic roles & 50–950 ramp

primary
#3F1573
secondary
#78A93B
accent
#EC3C9D
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #3F1573

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

Preview Lab → · Contrast checker → · Palette generator →

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