#3D1CC2#3D1CC2

#3D1CC2 is a dark, highly saturated violet. Relative luminance 0.057; OKLCH L 41.2% C 0.230 H 278.3°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#3D1CC2
RGBrgb(61, 28, 194)
HSLhsl(252, 75%, 44%)
HSVhsv(252, 86%, 76%)
CMYKcmyk(68.6%, 85.6%, 0%, 23.9%)
CIE-LABlab(28.69, 58.74, -78.78)
CIE-LCHlch(28.69, 98.27, 306.71°)
OKLaboklab(41.21% 0.0332 -0.2275)
OKLCHoklch(41.21% 0.23 278.3)
XYZxyz(12.0742, 5.7166, 51.4956)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1CC2 #A1C21C
analogous
#1C4EC2 #3D1CC2 #901CC2
triadic
#3D1CC2 #C23D1C #1CC23D
tetradic
#3D1CC2 #C21C4E #A1C21C #1CC290
square
#3D1CC2 #C21C4E #A1C21C #1CC290
split-complementary
#3D1CC2 #C2901C #4EC21C
monochromatic
#1B0D57 #2C148D #3D1CC2 #5B39E2 #876EEA

Accessibility & contrast

On white

9.80
#3D1CC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#3D1CC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1CC2
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1CC2#FFFFFF#000000##FFFFFF
##3D1CC21.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AC6
Deuteranopia (green-blind)
#003DBF
Tritanopia (blue-blind)
#005373
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3d1cc2;
/* rgb */ color: rgb(61, 28, 194);
/* oklch */ color: oklch(41.2% 0.230 278.3);
Tailwind
colors: {
  custom: {
    50: '#8761d6',
    500: '#3d1cc2',
    950: '#000000',
  },
}
SCSS
$custom: #3d1cc2;
$custom-light: #8761d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1cc2",
  "rgb": {
    "r": 61,
    "g": 28,
    "b": 194
  },
  "hsl": {
    "h": 251.928,
    "s": 74.775,
    "l": 43.529
  },
  "oklch": {
    "l": 0.41206,
    "c": 0.22989,
    "h": 278.3
  },
  "luminance": 0.05718
}

Semantic roles & 50–950 ramp

primary
#3D1CC2
secondary
#BCD06A
accent
#F136CC
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0515
muted
#7E7A83

Preview Lab

Preview with #3D1CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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