#3F1481#3F1481

#3F1481 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.6% C 0.164 H 293.0°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#3F1481
RGBrgb(63, 20, 129)
HSLhsl(264, 73%, 29%)
HSVhsv(264, 84%, 51%)
CMYKcmyk(51.2%, 84.5%, 0%, 49.4%)
CIE-LABlab(20.60, 44.16, -52.52)
CIE-LCHlch(20.60, 68.62, 310.06°)
OKLaboklab(33.59% 0.0642 -0.1508)
OKLCHoklch(33.59% 0.164 293)
XYZxyz(6.2614, 3.1418, 21.0411)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1481 #568114
analogous
#142081 #3F1481 #761481
triadic
#3F1481 #813F14 #14813F
tetradic
#3F1481 #811420 #568114 #148176
square
#3F1481 #811420 #568114 #148176
split-complementary
#3F1481 #817614 #208114
monochromatic
#0D041A #250C4C #3F1481 #591CB6 #7530DF

Accessibility & contrast

On white

12.90
#3F1481 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#3F1481 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1481
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1481#FFFFFF#000000##FFFFFF
##3F14811.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003384
Deuteranopia (green-blind)
#00307F
Tritanopia (blue-blind)
#29354C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #3f1481;
/* rgb */ color: rgb(63, 20, 129);
/* oklch */ color: oklch(33.6% 0.164 293.0);
Tailwind
colors: {
  custom: {
    50: '#7c58a7',
    500: '#3f1481',
    950: '#000000',
  },
}
SCSS
$custom: #3f1481;
$custom-light: #7c58a7;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1481",
  "rgb": {
    "r": 63,
    "g": 20,
    "b": 129
  },
  "hsl": {
    "h": 263.67,
    "s": 73.154,
    "l": 29.216
  },
  "oklch": {
    "l": 0.33589,
    "c": 0.16391,
    "h": 293
  },
  "luminance": 0.03142
}

Semantic roles & 50–950 ramp

primary
#3F1481
secondary
#85B63B
accent
#F038A7
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #3F1481

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

Preview Lab → · Contrast checker → · Palette generator →

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