#3F1060#3F1060

#3F1060 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.0% C 0.132 H 306.4°. Best body text is #FFFFFF at 14.44:1 contrast (WCAG AA passes).

Color values

HEX#3F1060
RGBrgb(63, 16, 96)
HSLhsl(275, 71%, 22%)
HSVhsv(275, 83%, 38%)
CMYKcmyk(34.4%, 83.3%, 0%, 62.4%)
CIE-LABlab(16.85, 37.18, -37.27)
CIE-LCHlch(16.85, 52.65, 314.93°)
OKLaboklab(30.01% 0.0783 -0.1061)
OKLCHoklch(30.01% 0.132 306.4)
XYZxyz(4.3460, 2.2719, 11.2736)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1060 #316010
analogous
#171060 #3F1060 #601059
triadic
#3F1060 #603F10 #10603F
tetradic
#3F1060 #601710 #316010 #105960
square
#3F1060 #601710 #316010 #105960
split-complementary
#3F1060 #596010 #106017
monochromatic
#11041A #1D072C #3F1060 #611994 #8421C9

Accessibility & contrast

On white

14.44
#3F1060 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#3F1060 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1060
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1060#FFFFFF#000000##FFFFFF
##3F10601.0014.441.4514.44
#FFFFFF14.441.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002862
Deuteranopia (green-blind)
#002A5E
Tritanopia (blue-blind)
#392538
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #3f1060;
/* rgb */ color: rgb(63, 16, 96);
/* oklch */ color: oklch(30.0% 0.132 306.4);
Tailwind
colors: {
  custom: {
    50: '#78558e',
    500: '#3f1060',
    950: '#000000',
  },
}
SCSS
$custom: #3f1060;
$custom-light: #78558e;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1060",
  "rgb": {
    "r": 63,
    "g": 16,
    "b": 96
  },
  "hsl": {
    "h": 275.25,
    "s": 71.429,
    "l": 21.961
  },
  "oklch": {
    "l": 0.30009,
    "c": 0.13184,
    "h": 306.4
  },
  "luminance": 0.02272
}

Semantic roles & 50–950 ramp

primary
#3F1060
secondary
#5D9933
accent
#EE3A84
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3F1060

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

Preview Lab → · Contrast checker → · Palette generator →

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