#3D1CB3#3D1CB3

#3D1CB3 is a dark, highly saturated violet. Relative luminance 0.051; OKLCH L 39.5% C 0.213 H 280.4°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#3D1CB3
RGBrgb(61, 28, 179)
HSLhsl(253, 73%, 41%)
HSVhsv(253, 84%, 70%)
CMYKcmyk(65.9%, 84.4%, 0%, 29.8%)
CIE-LABlab(26.95, 54.58, -72.76)
CIE-LCHlch(26.95, 90.95, 306.88°)
OKLaboklab(39.52% 0.0384 -0.21)
OKLCHoklch(39.52% 0.213 280.4)
XYZxyz(10.4738, 5.0764, 43.0670)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1CB3 #92B31C
analogous
#1C46B3 #3D1CB3 #891CB3
triadic
#3D1CB3 #B33D1C #1CB33D
tetradic
#3D1CB3 #B31C46 #92B31C #1CB389
square
#3D1CB3 #B31C46 #92B31C #1CB389
split-complementary
#3D1CB3 #B3891C #46B31C
monochromatic
#190B49 #2B147E #3D1CB3 #542EDE #8063E7

Accessibility & contrast

On white

10.42
#3D1CB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#3D1CB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1CB3
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1CB3#FFFFFF#000000##FFFFFF
##3D1CB31.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B7
Deuteranopia (green-blind)
#003AB0
Tritanopia (blue-blind)
#004D6A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3d1cb3;
/* rgb */ color: rgb(61, 28, 179);
/* oklch */ color: oklch(39.5% 0.213 280.4);
Tailwind
colors: {
  custom: {
    50: '#8460cb',
    500: '#3d1cb3',
    950: '#000000',
  },
}
SCSS
$custom: #3d1cb3;
$custom-light: #8460cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1cb3",
  "rgb": {
    "r": 61,
    "g": 28,
    "b": 179
  },
  "hsl": {
    "h": 253.113,
    "s": 72.947,
    "l": 40.588
  },
  "oklch": {
    "l": 0.39518,
    "c": 0.21346,
    "h": 280.4
  },
  "luminance": 0.05077
}

Semantic roles & 50–950 ramp

primary
#3D1CB3
secondary
#B4CB5F
accent
#F038C8
background
#F8F5FC
surface
#F0EAF9
border
#CBC6D2
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #3D1CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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