#3D1C7D#3D1C7D

#3D1C7D is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.8% C 0.151 H 291.7°. Best body text is #FFFFFF at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#3D1C7D
RGBrgb(61, 28, 125)
HSLhsl(260, 63%, 30%)
HSVhsv(260, 78%, 49%)
CMYKcmyk(51.2%, 77.6%, 0%, 51%)
CIE-LABlab(21.22, 39.11, -48.98)
CIE-LCHlch(21.22, 62.68, 308.60°)
OKLaboklab(33.84% 0.056 -0.1406)
OKLCHoklch(33.84% 0.151 291.7)
XYZxyz(6.0403, 3.3030, 19.7173)
Luminance0.0330 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1C7D #5C7D1C
analogous
#1C2C7D #3D1C7D #6D1C7D
triadic
#3D1C7D #7D3D1C #1C7D3D
tetradic
#3D1C7D #7D1C2C #5C7D1C #1C7D6D
square
#3D1C7D #7D1C2C #5C7D1C #1C7D6D
split-complementary
#3D1C7D #7D6D1C #2C7D1C
monochromatic
#0C0619 #25114B #3D1C7D #5527AF #723FD4

Accessibility & contrast

On white

12.65
#3D1C7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#3D1C7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1C7D
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1C7D#FFFFFF#000000##FFFFFF
##3D1C7D1.0012.651.6612.65
#FFFFFF12.651.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003480
Deuteranopia (green-blind)
#00317B
Tritanopia (blue-blind)
#28364B
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #3d1c7d;
/* rgb */ color: rgb(61, 28, 125);
/* oklch */ color: oklch(33.8% 0.151 291.7);
Tailwind
colors: {
  custom: {
    50: '#7a5ca4',
    500: '#3d1c7d',
    950: '#000000',
  },
}
SCSS
$custom: #3d1c7d;
$custom-light: #7a5ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1c7d",
  "rgb": {
    "r": 61,
    "g": 28,
    "b": 125
  },
  "hsl": {
    "h": 260.412,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.3384,
    "c": 0.15134,
    "h": 291.7
  },
  "luminance": 0.03303
}

Semantic roles & 50–950 ramp

primary
#3D1C7D
secondary
#8CB144
accent
#E641AE
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #3D1C7D

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

Preview Lab → · Contrast checker → · Palette generator →

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