#3F1575#3F1575

#3F1575 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.5% C 0.150 H 296.9°. Best body text is #FFFFFF at 13.33:1 contrast (WCAG AA passes).

Color values

HEX#3F1575
RGBrgb(63, 21, 117)
HSLhsl(266, 70%, 27%)
HSVhsv(266, 82%, 46%)
CMYKcmyk(46.2%, 82.1%, 0%, 54.1%)
CIE-LABlab(19.55, 40.51, -46.60)
CIE-LCHlch(19.55, 61.75, 311.00°)
OKLaboklab(32.49% 0.0676 -0.1335)
OKLCHoklch(32.49% 0.15 296.9)
XYZxyz(5.5281, 2.8773, 17.0903)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1575 #4B7515
analogous
#151B75 #3F1575 #6F1575
triadic
#3F1575 #753F15 #15753F
tetradic
#3F1575 #75151B #4B7515 #15756F
square
#3F1575 #75151B #4B7515 #15756F
split-complementary
#3F1575 #756F15 #1B7515
monochromatic
#0E051A #230C41 #3F1575 #5B1EA9 #772BD9

Accessibility & contrast

On white

13.33
#3F1575 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#3F1575 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1575
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1575#FFFFFF#000000##FFFFFF
##3F15751.0013.331.5813.33
#FFFFFF13.331.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003078
Deuteranopia (green-blind)
#002E73
Tritanopia (blue-blind)
#303045
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #3f1575;
/* rgb */ color: rgb(63, 21, 117);
/* oklch */ color: oklch(32.5% 0.150 296.9);
Tailwind
colors: {
  custom: {
    50: '#7a589e',
    500: '#3f1575',
    950: '#000000',
  },
}
SCSS
$custom: #3f1575;
$custom-light: #7a589e;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1575",
  "rgb": {
    "r": 63,
    "g": 21,
    "b": 117
  },
  "hsl": {
    "h": 266.25,
    "s": 69.565,
    "l": 27.059
  },
  "oklch": {
    "l": 0.32491,
    "c": 0.14964,
    "h": 296.9
  },
  "luminance": 0.02877
}

Semantic roles & 50–950 ramp

primary
#3F1575
secondary
#7AAB3B
accent
#EC3B9F
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #3F1575

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

Preview Lab → · Contrast checker → · Palette generator →

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