#3F1690#3F1690

#3F1690 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.3% C 0.179 H 288.7°. Best body text is #FFFFFF at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#3F1690
RGBrgb(63, 22, 144)
HSLhsl(260, 73%, 33%)
HSVhsv(260, 85%, 56%)
CMYKcmyk(56.3%, 84.7%, 0%, 43.5%)
CIE-LABlab(22.46, 47.44, -58.87)
CIE-LCHlch(22.46, 75.61, 308.87°)
OKLaboklab(35.34% 0.0573 -0.1694)
OKLCHoklch(35.34% 0.179 288.7)
XYZxyz(7.3694, 3.6438, 26.6952)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1690 #679016
analogous
#162A90 #3F1690 #7C1690
triadic
#3F1690 #903F16 #16903F
tetradic
#3F1690 #90162A #679016 #16907C
square
#3F1690 #90162A #679016 #16907C
split-complementary
#3F1690 #907C16 #2A9016
monochromatic
#110626 #280E5B #3F1690 #561EC5 #763FE2

Accessibility & contrast

On white

12.15
#3F1690 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#3F1690 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1690
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1690#FFFFFF#000000##FFFFFF
##3F16901.0012.151.7312.15
#FFFFFF12.151.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003893
Deuteranopia (green-blind)
#00338E
Tritanopia (blue-blind)
#1C3C55
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #3f1690;
/* rgb */ color: rgb(63, 22, 144);
/* oklch */ color: oklch(35.3% 0.179 288.7);
Tailwind
colors: {
  custom: {
    50: '#7f5ab2',
    500: '#3f1690',
    950: '#000000',
  },
}
SCSS
$custom: #3f1690;
$custom-light: #7f5ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1690",
  "rgb": {
    "r": 63,
    "g": 22,
    "b": 144
  },
  "hsl": {
    "h": 260.164,
    "s": 73.494,
    "l": 32.549
  },
  "oklch": {
    "l": 0.35339,
    "c": 0.17883,
    "h": 288.7
  },
  "luminance": 0.03644
}

Semantic roles & 50–950 ramp

primary
#3F1690
secondary
#96C240
accent
#F038B2
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #3F1690

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

Preview Lab → · Contrast checker → · Palette generator →

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