#3F1970#3F1970

#3F1970 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.5% C 0.139 H 298.0°. Best body text is #FFFFFF at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#3F1970
RGBrgb(63, 25, 112)
HSLhsl(266, 64%, 27%)
HSVhsv(266, 78%, 44%)
CMYKcmyk(43.7%, 77.7%, 0%, 56.1%)
CIE-LABlab(19.73, 37.28, -43.07)
CIE-LCHlch(19.73, 56.97, 310.87°)
OKLaboklab(32.47% 0.0654 -0.1232)
OKLCHoklch(32.47% 0.139 298)
XYZxyz(5.3214, 2.9218, 15.6097)
Luminance0.0292 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1970 #4A7019
analogous
#191E70 #3F1970 #6B1970
triadic
#3F1970 #703F19 #19703F
tetradic
#3F1970 #70191E #4A7019 #19706B
square
#3F1970 #70191E #4A7019 #19706B
split-complementary
#3F1970 #706B19 #1E7019
monochromatic
#0E0619 #230E3E #3F1970 #5B24A2 #7832D1

Accessibility & contrast

On white

13.25
#3F1970 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#3F1970 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1970
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1970#FFFFFF#000000##FFFFFF
##3F19701.0013.251.5813.25
#FFFFFF13.251.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003072
Deuteranopia (green-blind)
#002F6E
Tritanopia (blue-blind)
#333043
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #3f1970;
/* rgb */ color: rgb(63, 25, 112);
/* oklch */ color: oklch(32.5% 0.139 298.0);
Tailwind
colors: {
  custom: {
    50: '#795a9a',
    500: '#3f1970',
    950: '#000000',
  },
}
SCSS
$custom: #3f1970;
$custom-light: #795a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1970",
  "rgb": {
    "r": 63,
    "g": 25,
    "b": 112
  },
  "hsl": {
    "h": 266.207,
    "s": 63.504,
    "l": 26.863
  },
  "oklch": {
    "l": 0.32474,
    "c": 0.13948,
    "h": 298
  },
  "luminance": 0.02922
}

Semantic roles & 50–950 ramp

primary
#3F1970
secondary
#79A540
accent
#E7419E
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #3F1970

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

Preview Lab → · Contrast checker → · Palette generator →

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