#3F1660#3F1660

#3F1660 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.7% C 0.125 H 305.4°. Best body text is #FFFFFF at 14.05:1 contrast (WCAG AA passes).

Color values

HEX#3F1660
RGBrgb(63, 22, 96)
HSLhsl(273, 63%, 23%)
HSVhsv(273, 77%, 38%)
CMYKcmyk(34.4%, 77.1%, 0%, 62.4%)
CIE-LABlab(17.81, 34.46, -35.72)
CIE-LCHlch(17.81, 49.64, 313.97°)
OKLaboklab(30.68% 0.0722 -0.1016)
OKLCHoklch(30.68% 0.125 305.4)
XYZxyz(4.4477, 2.4751, 11.3075)
Luminance0.0248 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1660 #376016
analogous
#1A1660 #3F1660 #60165C
triadic
#3F1660 #603F16 #16603F
tetradic
#3F1660 #601A16 #376016 #165C60
square
#3F1660 #601A16 #376016 #165C60
split-complementary
#3F1660 #5C6016 #16601A
monochromatic
#100619 #1E0B2E #3F1660 #602192 #802DC4

Accessibility & contrast

On white

14.05
#3F1660 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#3F1660 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1660
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1660#FFFFFF#000000##FFFFFF
##3F16601.0014.051.5014.05
#FFFFFF14.051.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A62
Deuteranopia (green-blind)
#002C5E
Tritanopia (blue-blind)
#392839
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #3f1660;
/* rgb */ color: rgb(63, 22, 96);
/* oklch */ color: oklch(30.7% 0.125 305.4);
Tailwind
colors: {
  custom: {
    50: '#78578e',
    500: '#3f1660',
    950: '#000000',
  },
}
SCSS
$custom: #3f1660;
$custom-light: #78578e;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1660",
  "rgb": {
    "r": 63,
    "g": 22,
    "b": 96
  },
  "hsl": {
    "h": 273.243,
    "s": 62.712,
    "l": 23.137
  },
  "oklch": {
    "l": 0.3068,
    "c": 0.12461,
    "h": 305.4
  },
  "luminance": 0.02475
}

Semantic roles & 50–950 ramp

primary
#3F1660
secondary
#64973B
accent
#E6428B
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3F1660

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

Preview Lab → · Contrast checker → · Palette generator →

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