#3D1FC3#3D1FC3

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

Color values

HEX#3D1FC3
RGBrgb(61, 31, 195)
HSLhsl(251, 73%, 44%)
HSVhsv(251, 84%, 76%)
CMYKcmyk(68.7%, 84.1%, 0%, 23.5%)
CIE-LABlab(29.19, 57.87, -78.54)
CIE-LCHlch(29.19, 97.55, 306.39°)
OKLaboklab(41.58% 0.0319 -0.2268)
OKLCHoklch(41.58% 0.229 278)
XYZxyz(12.2616, 5.9111, 52.1140)
Luminance0.0591 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1FC3 #A5C31F
analogous
#1F53C3 #3D1FC3 #8F1FC3
triadic
#3D1FC3 #C33D1F #1FC33D
tetradic
#3D1FC3 #C31F53 #A5C31F #1FC38F
square
#3D1FC3 #C31F53 #A5C31F #1FC38F
split-complementary
#3D1FC3 #C38F1F #53C31F
monochromatic
#1C0E59 #2C178E #3D1FC3 #5C3FE0 #8974E9

Accessibility & contrast

On white

9.62
#3D1FC3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D1FC3
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1FC3#FFFFFF#000000##FFFFFF
##3D1FC31.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.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: #3d1fc3;
/* rgb */ color: rgb(61, 31, 195);
/* oklch */ color: oklch(41.6% 0.229 278.0);
Tailwind
colors: {
  custom: {
    50: '#8762d7',
    500: '#3d1fc3',
    950: '#000000',
  },
}
SCSS
$custom: #3d1fc3;
$custom-light: #8762d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1fc3",
  "rgb": {
    "r": 61,
    "g": 31,
    "b": 195
  },
  "hsl": {
    "h": 250.976,
    "s": 72.566,
    "l": 44.314
  },
  "oklch": {
    "l": 0.41583,
    "c": 0.22906,
    "h": 278
  },
  "luminance": 0.05912
}

Semantic roles & 50–950 ramp

primary
#3D1FC3
secondary
#BED06E
accent
#EF39CE
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0615
muted
#7E7A83

Preview Lab

Preview with #3D1FC3

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

Preview Lab → · Contrast checker → · Palette generator →

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