#3F0D60#3F0D60

#3F0D60 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.7% C 0.135 H 306.9°. Best body text is #FFFFFF at 14.61:1 contrast (WCAG AA passes).

Color values

HEX#3F0D60
RGBrgb(63, 13, 96)
HSLhsl(276, 76%, 21%)
HSVhsv(276, 86%, 38%)
CMYKcmyk(34.4%, 86.5%, 0%, 62.4%)
CIE-LABlab(16.45, 38.35, -37.93)
CIE-LCHlch(16.45, 53.94, 315.32°)
OKLaboklab(29.73% 0.0809 -0.108)
OKLCHoklch(29.73% 0.135 306.9)
XYZxyz(4.3047, 2.1892, 11.2598)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0D60 #2E600D
analogous
#160D60 #3F0D60 #600D58
triadic
#3F0D60 #603F0D #0D603F
tetradic
#3F0D60 #60160D #2E600D #0D5860
square
#3F0D60 #60160D #2E600D #0D5860
split-complementary
#3F0D60 #58600D #0D6016
monochromatic
#12041B #1C062A #3F0D60 #621496 #861CCC

Accessibility & contrast

On white

14.61
#3F0D60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#3F0D60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F0D60
14.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0D60#FFFFFF#000000##FFFFFF
##3F0D601.0014.611.4414.61
#FFFFFF14.611.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002762
Deuteranopia (green-blind)
#00295E
Tritanopia (blue-blind)
#392337
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #3f0d60;
/* rgb */ color: rgb(63, 13, 96);
/* oklch */ color: oklch(29.7% 0.135 306.9);
Tailwind
colors: {
  custom: {
    50: '#78538e',
    500: '#3f0d60',
    950: '#000000',
  },
}
SCSS
$custom: #3f0d60;
$custom-light: #78538e;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0d60",
  "rgb": {
    "r": 63,
    "g": 13,
    "b": 96
  },
  "hsl": {
    "h": 276.145,
    "s": 76.147,
    "l": 21.373
  },
  "oklch": {
    "l": 0.29727,
    "c": 0.13494,
    "h": 306.9
  },
  "luminance": 0.02189
}

Semantic roles & 50–950 ramp

primary
#3F0D60
secondary
#599A2F
accent
#F33580
background
#F7F5F8
surface
#EEE8F0
border
#C9C4CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3F0D60

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

Preview Lab → · Contrast checker → · Palette generator →

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