#3F1460#3F1460

#3F1460 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.4% C 0.127 H 305.8°. Best body text is #FFFFFF at 14.19:1 contrast (WCAG AA passes).

Color values

HEX#3F1460
RGBrgb(63, 20, 96)
HSLhsl(274, 66%, 23%)
HSVhsv(274, 79%, 38%)
CMYKcmyk(34.4%, 79.2%, 0%, 62.4%)
CIE-LABlab(17.47, 35.42, -36.27)
CIE-LCHlch(17.47, 50.70, 314.32°)
OKLaboklab(30.44% 0.0744 -0.1032)
OKLCHoklch(30.44% 0.127 305.8)
XYZxyz(4.4109, 2.4016, 11.2953)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1460 #356014
analogous
#191460 #3F1460 #60145B
triadic
#3F1460 #603F14 #14603F
tetradic
#3F1460 #601914 #356014 #145B60
square
#3F1460 #601914 #356014 #145B60
split-complementary
#3F1460 #5B6014 #146019
monochromatic
#110519 #1E092D #3F1460 #601F93 #8129C5

Accessibility & contrast

On white

14.19
#3F1460 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#3F1460 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1460
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1460#FFFFFF#000000##FFFFFF
##3F14601.0014.191.4814.19
#FFFFFF14.191.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A62
Deuteranopia (green-blind)
#002B5E
Tritanopia (blue-blind)
#392739
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #3f1460;
/* rgb */ color: rgb(63, 20, 96);
/* oklch */ color: oklch(30.4% 0.127 305.8);
Tailwind
colors: {
  custom: {
    50: '#78568e',
    500: '#3f1460',
    950: '#000000',
  },
}
SCSS
$custom: #3f1460;
$custom-light: #78568e;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1460",
  "rgb": {
    "r": 63,
    "g": 20,
    "b": 96
  },
  "hsl": {
    "h": 273.947,
    "s": 65.517,
    "l": 22.745
  },
  "oklch": {
    "l": 0.3044,
    "c": 0.12717,
    "h": 305.8
  },
  "luminance": 0.02402
}

Semantic roles & 50–950 ramp

primary
#3F1460
secondary
#629838
accent
#E83F89
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3F1460

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

Preview Lab → · Contrast checker → · Palette generator →

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