#3F1466#3F1466

#3F1466 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 31.0% C 0.134 H 303.0°. Best body text is #FFFFFF at 13.97:1 contrast (WCAG AA passes).

Color values

HEX#3F1466
RGBrgb(63, 20, 102)
HSLhsl(271, 67%, 24%)
HSVhsv(271, 80%, 40%)
CMYKcmyk(38.2%, 80.4%, 0%, 60%)
CIE-LABlab(17.99, 36.97, -39.38)
CIE-LCHlch(17.99, 54.02, 313.19°)
OKLaboklab(30.97% 0.0729 -0.1123)
OKLCHoklch(30.97% 0.134 303)
XYZxyz(4.6978, 2.5164, 12.8060)
Luminance0.0252 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1466 #3B6614
analogous
#161466 #3F1466 #661464
triadic
#3F1466 #663F14 #14663F
tetradic
#3F1466 #661614 #3B6614 #146466
square
#3F1466 #661614 #3B6614 #146466
split-complementary
#3F1466 #646614 #146616
monochromatic
#10051A #1F0A33 #3F1466 #5F1E99 #7E28CC

Accessibility & contrast

On white

13.97
#3F1466 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F1466
13.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1466#FFFFFF#000000##FFFFFF
##3F14661.0013.971.5013.97
#FFFFFF13.971.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B68
Deuteranopia (green-blind)
#002C64
Tritanopia (blue-blind)
#37293C
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #3f1466;
/* rgb */ color: rgb(63, 20, 102);
/* oklch */ color: oklch(31.0% 0.134 303.0);
Tailwind
colors: {
  custom: {
    50: '#795792',
    500: '#3f1466',
    950: '#000000',
  },
}
SCSS
$custom: #3f1466;
$custom-light: #795792;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1466",
  "rgb": {
    "r": 63,
    "g": 20,
    "b": 102
  },
  "hsl": {
    "h": 271.463,
    "s": 67.213,
    "l": 23.922
  },
  "oklch": {
    "l": 0.30974,
    "c": 0.13389,
    "h": 303
  },
  "luminance": 0.02516
}

Semantic roles & 50–950 ramp

primary
#3F1466
secondary
#689D39
accent
#EA3E90
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3F1466

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

Preview Lab → · Contrast checker → · Palette generator →

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