#3F1FC2#3F1FC2

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

Color values

HEX#3F1FC2
RGBrgb(63, 31, 194)
HSLhsl(252, 72%, 44%)
HSVhsv(252, 84%, 76%)
CMYKcmyk(67.5%, 84%, 0%, 23.9%)
CIE-LABlab(29.24, 57.74, -77.86)
CIE-LCHlch(29.24, 96.94, 306.56°)
OKLaboklab(41.63% 0.0351 -0.2248)
OKLCHoklch(41.63% 0.228 278.9)
XYZxyz(12.2744, 5.9307, 51.5264)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1FC2 #A2C21F
analogous
#1F51C2 #3F1FC2 #911FC2
triadic
#3F1FC2 #C23F1F #1FC23F
tetradic
#3F1FC2 #C21F51 #A2C21F #1FC291
square
#3F1FC2 #C21F51 #A2C21F #1FC291
split-complementary
#3F1FC2 #C2911F #51C21F
monochromatic
#1D0E58 #2E178D #3F1FC2 #5E3EE0 #8A73E9

Accessibility & contrast

On white

9.60
#3F1FC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#3F1FC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1FC2
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1FC2#FFFFFF#000000##FFFFFF
##3F1FC21.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f1fc2;
/* rgb */ color: rgb(63, 31, 194);
/* oklch */ color: oklch(41.6% 0.228 278.9);
Tailwind
colors: {
  custom: {
    50: '#8762d6',
    500: '#3f1fc2',
    950: '#000000',
  },
}
SCSS
$custom: #3f1fc2;
$custom-light: #8762d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1fc2",
  "rgb": {
    "r": 63,
    "g": 31,
    "b": 194
  },
  "hsl": {
    "h": 251.779,
    "s": 72.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.41625,
    "c": 0.22755,
    "h": 278.9
  },
  "luminance": 0.05932
}

Semantic roles & 50–950 ramp

primary
#3F1FC2
secondary
#BCCF6D
accent
#EF39CB
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0615
muted
#7E7A83

Preview Lab

Preview with #3F1FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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