#3D2985#3D2985

#3D2985 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.4% C 0.146 H 286.7°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#3D2985
RGBrgb(61, 41, 133)
HSLhsl(253, 53%, 34%)
HSVhsv(253, 69%, 52%)
CMYKcmyk(54.1%, 69.2%, 0%, 47.8%)
CIE-LABlab(24.55, 34.30, -48.58)
CIE-LCHlch(24.55, 59.47, 305.23°)
OKLaboklab(36.44% 0.042 -0.1395)
OKLCHoklch(36.44% 0.146 286.7)
XYZxyz(6.9498, 4.2711, 22.6440)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2985 #718529
analogous
#294385 #3D2985 #6B2985
triadic
#3D2985 #853D29 #29853D
tetradic
#3D2985 #852943 #718529 #29856B
square
#3D2985 #852943 #718529 #29856B
split-complementary
#3D2985 #856B29 #438529
monochromatic
#120C27 #281B56 #3D2985 #5237B4 #745CCD

Accessibility & contrast

On white

11.33
#3D2985 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#3D2985 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2985
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2985#FFFFFF#000000##FFFFFF
##3D29851.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D88
Deuteranopia (green-blind)
#003883
Tritanopia (blue-blind)
#214053
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #3d2985;
/* rgb */ color: rgb(61, 41, 133);
/* oklch */ color: oklch(36.4% 0.146 286.7);
Tailwind
colors: {
  custom: {
    50: '#7a64a9',
    500: '#3d2985',
    950: '#000000',
  },
}
SCSS
$custom: #3d2985;
$custom-light: #7a64a9;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2985",
  "rgb": {
    "r": 61,
    "g": 41,
    "b": 133
  },
  "hsl": {
    "h": 253.043,
    "s": 52.874,
    "l": 34.118
  },
  "oklch": {
    "l": 0.36435,
    "c": 0.14567,
    "h": 286.7
  },
  "luminance": 0.04271
}

Semantic roles & 50–950 ramp

primary
#3D2985
secondary
#9EB258
accent
#DC4CBD
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0510
muted
#7C7A7F

Preview Lab

Preview with #3D2985

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

Preview Lab → · Contrast checker → · Palette generator →

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