#3F1475#3F1475

#3F1475 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.4% C 0.151 H 297.0°. Best body text is #FFFFFF at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#3F1475
RGBrgb(63, 20, 117)
HSLhsl(267, 71%, 27%)
HSVhsv(267, 83%, 46%)
CMYKcmyk(46.2%, 82.9%, 0%, 54.1%)
CIE-LABlab(19.40, 40.94, -46.84)
CIE-LCHlch(19.40, 62.21, 311.15°)
OKLaboklab(32.39% 0.0684 -0.1342)
OKLCHoklch(32.39% 0.151 297)
XYZxyz(5.5101, 2.8413, 17.0843)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1475 #4A7514
analogous
#141A75 #3F1475 #701475
triadic
#3F1475 #753F14 #14753F
tetradic
#3F1475 #75141A #4A7514 #147570
square
#3F1475 #75141A #4A7514 #147570
split-complementary
#3F1475 #757014 #1A7514
monochromatic
#0E041A #230B41 #3F1475 #5B1DA9 #7829DA

Accessibility & contrast

On white

13.39
#3F1475 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F1475
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1475#FFFFFF#000000##FFFFFF
##3F14751.0013.391.5713.39
#FFFFFF13.391.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F78
Deuteranopia (green-blind)
#002E73
Tritanopia (blue-blind)
#302F45
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #3f1475;
/* rgb */ color: rgb(63, 20, 117);
/* oklch */ color: oklch(32.4% 0.151 297.0);
Tailwind
colors: {
  custom: {
    50: '#7a589e',
    500: '#3f1475',
    950: '#000000',
  },
}
SCSS
$custom: #3f1475;
$custom-light: #7a589e;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1475",
  "rgb": {
    "r": 63,
    "g": 20,
    "b": 117
  },
  "hsl": {
    "h": 266.598,
    "s": 70.803,
    "l": 26.863
  },
  "oklch": {
    "l": 0.32388,
    "c": 0.15063,
    "h": 297
  },
  "luminance": 0.02841
}

Semantic roles & 50–950 ramp

primary
#3F1475
secondary
#79AB3A
accent
#EE3A9E
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030E
muted
#7C787E

Preview Lab

Preview with #3F1475

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

Preview Lab → · Contrast checker → · Palette generator →

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