#3F1DC3#3F1DC3

#3F1DC3 is a dark, highly saturated violet. Relative luminance 0.059; OKLCH L 41.6% C 0.230 H 278.9°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#3F1DC3
RGBrgb(63, 29, 195)
HSLhsl(252, 74%, 44%)
HSVhsv(252, 85%, 76%)
CMYKcmyk(67.7%, 85.1%, 0%, 23.5%)
CIE-LABlab(29.09, 58.78, -78.69)
CIE-LCHlch(29.09, 98.22, 306.76°)
OKLaboklab(41.56% 0.0355 -0.2272)
OKLCHoklch(41.56% 0.23 278.9)
XYZxyz(12.3364, 5.8746, 52.1030)
Luminance0.0588 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1DC3 #A1C31D
analogous
#1D4EC3 #3F1DC3 #921DC3
triadic
#3F1DC3 #C33F1D #1DC33F
tetradic
#3F1DC3 #C31D4E #A1C31D #1DC392
square
#3F1DC3 #C31D4E #A1C31D #1DC392
split-complementary
#3F1DC3 #C3921D #4EC31D
monochromatic
#1D0D58 #2E158E #3F1DC3 #5D3BE2 #8971EA

Accessibility & contrast

On white

9.65
#3F1DC3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#3F1DC3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1DC3
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1DC3#FFFFFF#000000##FFFFFF
##3F1DC31.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BC7
Deuteranopia (green-blind)
#003EC0
Tritanopia (blue-blind)
#005474
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3f1dc3;
/* rgb */ color: rgb(63, 29, 195);
/* oklch */ color: oklch(41.6% 0.230 278.9);
Tailwind
colors: {
  custom: {
    50: '#8861d7',
    500: '#3f1dc3',
    950: '#000000',
  },
}
SCSS
$custom: #3f1dc3;
$custom-light: #8861d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1dc3",
  "rgb": {
    "r": 63,
    "g": 29,
    "b": 195
  },
  "hsl": {
    "h": 252.289,
    "s": 74.107,
    "l": 43.922
  },
  "oklch": {
    "l": 0.4156,
    "c": 0.22995,
    "h": 278.9
  },
  "luminance": 0.05876
}

Semantic roles & 50–950 ramp

primary
#3F1DC3
secondary
#BCD06C
accent
#F137CB
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0515
muted
#7E7A83

Preview Lab

Preview with #3F1DC3

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

Preview Lab → · Contrast checker → · Palette generator →

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