#3D1C9F#3D1C9F

#3D1C9F is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.3% C 0.191 H 283.7°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#3D1C9F
RGBrgb(61, 28, 159)
HSLhsl(255, 70%, 37%)
HSVhsv(255, 82%, 62%)
CMYKcmyk(61.6%, 82.4%, 0%, 37.6%)
CIE-LABlab(24.72, 48.92, -64.38)
CIE-LCHlch(24.72, 80.86, 307.23°)
OKLaboklab(37.33% 0.0452 -0.1856)
OKLCHoklch(37.33% 0.191 283.7)
XYZxyz(8.5958, 4.3252, 33.1761)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1C9F #7E9F1C
analogous
#1C3C9F #3D1C9F #7F1C9F
triadic
#3D1C9F #9F3D1C #1C9F3D
tetradic
#3D1C9F #9F1C3C #7E9F1C #1C9F7F
square
#3D1C9F #9F1C3C #7E9F1C #1C9F7F
split-complementary
#3D1C9F #9F7F1C #3C9F1C
monochromatic
#150A37 #29136B #3D1C9F #5125D3 #7854E1

Accessibility & contrast

On white

11.26
#3D1C9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#3D1C9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1C9F
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1C9F#FFFFFF#000000##FFFFFF
##3D1C9F1.0011.261.8711.26
#FFFFFF11.261.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA3
Deuteranopia (green-blind)
#00369D
Tritanopia (blue-blind)
#00445F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3d1c9f;
/* rgb */ color: rgb(61, 28, 159);
/* oklch */ color: oklch(37.3% 0.191 283.7);
Tailwind
colors: {
  custom: {
    50: '#805ebd',
    500: '#3d1c9f',
    950: '#000000',
  },
}
SCSS
$custom: #3d1c9f;
$custom-light: #805ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1c9f",
  "rgb": {
    "r": 61,
    "g": 28,
    "b": 159
  },
  "hsl": {
    "h": 255.115,
    "s": 70.053,
    "l": 36.667
  },
  "oklch": {
    "l": 0.37328,
    "c": 0.19104,
    "h": 283.7
  },
  "luminance": 0.04326
}

Semantic roles & 50–950 ramp

primary
#3D1C9F
secondary
#A8C453
accent
#ED3BC0
background
#F8F5FB
surface
#F0E9F7
border
#CBC5D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3D1C9F

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

Preview Lab → · Contrast checker → · Palette generator →

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