#3D1FC2#3D1FC2

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

Color values

HEX#3D1FC2
RGBrgb(61, 31, 194)
HSLhsl(251, 72%, 44%)
HSVhsv(251, 84%, 76%)
CMYKcmyk(68.6%, 84%, 0%, 23.9%)
CIE-LABlab(29.07, 57.59, -78.14)
CIE-LCHlch(29.07, 97.07, 306.39°)
OKLaboklab(41.47% 0.0322 -0.2257)
OKLCHoklch(41.47% 0.228 278.1)
XYZxyz(12.1489, 5.8660, 51.5205)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1FC2 #A4C21F
analogous
#1F53C2 #3D1FC2 #8F1FC2
triadic
#3D1FC2 #C23D1F #1FC23D
tetradic
#3D1FC2 #C21F53 #A4C21F #1FC28F
square
#3D1FC2 #C21F53 #A4C21F #1FC28F
split-complementary
#3D1FC2 #C28F1F #53C21F
monochromatic
#1C0E58 #2C178D #3D1FC2 #5C3EE0 #8873E9

Accessibility & contrast

On white

9.66
#3D1FC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#3D1FC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1FC2
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1FC2#FFFFFF#000000##FFFFFF
##3D1FC21.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.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: #3d1fc2;
/* rgb */ color: rgb(61, 31, 194);
/* oklch */ color: oklch(41.5% 0.228 278.1);
Tailwind
colors: {
  custom: {
    50: '#8762d6',
    500: '#3d1fc2',
    950: '#000000',
  },
}
SCSS
$custom: #3d1fc2;
$custom-light: #8762d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1fc2",
  "rgb": {
    "r": 61,
    "g": 31,
    "b": 194
  },
  "hsl": {
    "h": 251.043,
    "s": 72.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.4147,
    "c": 0.22796,
    "h": 278.1
  },
  "luminance": 0.05867
}

Semantic roles & 50–950 ramp

primary
#3D1FC2
secondary
#BDCF6D
accent
#EF39CE
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0515
muted
#7E7A83

Preview Lab

Preview with #3D1FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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