#3D1885#3D1885

#3D1885 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.2% C 0.165 H 290.1°. Best body text is #FFFFFF at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#3D1885
RGBrgb(61, 24, 133)
HSLhsl(260, 69%, 31%)
HSVhsv(260, 82%, 52%)
CMYKcmyk(54.1%, 82%, 0%, 47.8%)
CIE-LABlab(21.35, 43.30, -53.82)
CIE-LCHlch(21.35, 69.08, 308.82°)
OKLaboklab(34.17% 0.0567 -0.1547)
OKLCHoklch(34.17% 0.165 290.1)
XYZxyz(6.4835, 3.3385, 22.4885)
Luminance0.0334 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1885 #608518
analogous
#182985 #3D1885 #731885
triadic
#3D1885 #853D18 #18853D
tetradic
#3D1885 #851829 #608518 #188573
square
#3D1885 #851829 #608518 #188573
split-complementary
#3D1885 #857318 #298518
monochromatic
#0D051D #250F51 #3D1885 #5521B9 #723CDC

Accessibility & contrast

On white

12.59
#3D1885 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#3D1885 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1885
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1885#FFFFFF#000000##FFFFFF
##3D18851.0012.591.6712.59
#FFFFFF12.591.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003588
Deuteranopia (green-blind)
#003183
Tritanopia (blue-blind)
#22384F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #3d1885;
/* rgb */ color: rgb(61, 24, 133);
/* oklch */ color: oklch(34.2% 0.165 290.1);
Tailwind
colors: {
  custom: {
    50: '#7b5aaa',
    500: '#3d1885',
    950: '#000000',
  },
}
SCSS
$custom: #3d1885;
$custom-light: #7b5aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1885",
  "rgb": {
    "r": 61,
    "g": 24,
    "b": 133
  },
  "hsl": {
    "h": 260.367,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.34175,
    "c": 0.1648,
    "h": 290.1
  },
  "luminance": 0.03339
}

Semantic roles & 50–950 ramp

primary
#3D1885
secondary
#90B940
accent
#EC3CB0
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #3D1885

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

Preview Lab → · Contrast checker → · Palette generator →

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