#3F1EC2#3F1EC2

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

Color values

HEX#3F1EC2
RGBrgb(63, 30, 194)
HSLhsl(252, 73%, 44%)
HSVhsv(252, 85%, 76%)
CMYKcmyk(67.5%, 84.5%, 0%, 23.9%)
CIE-LABlab(29.11, 58.13, -78.08)
CIE-LCHlch(29.11, 97.34, 306.67°)
OKLaboklab(41.54% 0.0355 -0.2254)
OKLCHoklch(41.54% 0.228 278.9)
XYZxyz(12.2487, 5.8793, 51.5178)
Luminance0.0588 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1EC2 #A1C21E
analogous
#1E4FC2 #3F1EC2 #911EC2
triadic
#3F1EC2 #C23F1E #1EC23F
tetradic
#3F1EC2 #C21E4F #A1C21E #1EC291
square
#3F1EC2 #C21E4F #A1C21E #1EC291
split-complementary
#3F1EC2 #C2911E #4FC21E
monochromatic
#1D0E58 #2E168D #3F1EC2 #5D3CE1 #8971E9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3F1EC2#FFFFFF#000000##FFFFFF
##3F1EC21.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)
#004BC6
Deuteranopia (green-blind)
#003EBF
Tritanopia (blue-blind)
#005474
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3f1ec2;
/* rgb */ color: rgb(63, 30, 194);
/* oklch */ color: oklch(41.5% 0.228 278.9);
Tailwind
colors: {
  custom: {
    50: '#8762d6',
    500: '#3f1ec2',
    950: '#000000',
  },
}
SCSS
$custom: #3f1ec2;
$custom-light: #8762d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1ec2",
  "rgb": {
    "r": 63,
    "g": 30,
    "b": 194
  },
  "hsl": {
    "h": 252.073,
    "s": 73.214,
    "l": 43.922
  },
  "oklch": {
    "l": 0.41535,
    "c": 0.22822,
    "h": 278.9
  },
  "luminance": 0.0588
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3F1EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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