#3D2482#3D2482

#3D2482 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.4% C 0.148 H 288.7°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#3D2482
RGBrgb(61, 36, 130)
HSLhsl(256, 57%, 33%)
HSVhsv(256, 72%, 51%)
CMYKcmyk(53.1%, 72.3%, 0%, 49%)
CIE-LABlab(23.22, 36.28, -48.87)
CIE-LCHlch(23.22, 60.86, 306.59°)
OKLaboklab(35.4% 0.0474 -0.1403)
OKLCHoklch(35.4% 0.148 288.7)
XYZxyz(6.5834, 3.8653, 21.5139)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2482 #698224
analogous
#243A82 #3D2482 #6C2482
triadic
#3D2482 #823D24 #24823D
tetradic
#3D2482 #82243A #698224 #24826C
square
#3D2482 #82243A #698224 #24826C
split-complementary
#3D2482 #826C24 #3A8224
monochromatic
#100922 #271752 #3D2482 #5331B2 #7351CF

Accessibility & contrast

On white

11.84
#3D2482 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#3D2482 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2482
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2482#FFFFFF#000000##FFFFFF
##3D24821.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003985
Deuteranopia (green-blind)
#003580
Tritanopia (blue-blind)
#243C50
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #3d2482;
/* rgb */ color: rgb(61, 36, 130);
/* oklch */ color: oklch(35.4% 0.148 288.7);
Tailwind
colors: {
  custom: {
    50: '#7a61a7',
    500: '#3d2482',
    950: '#000000',
  },
}
SCSS
$custom: #3d2482;
$custom-light: #7a61a7;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2482",
  "rgb": {
    "r": 61,
    "g": 36,
    "b": 130
  },
  "hsl": {
    "h": 255.957,
    "s": 56.627,
    "l": 32.549
  },
  "oklch": {
    "l": 0.35401,
    "c": 0.14811,
    "h": 288.7
  },
  "luminance": 0.03866
}

Semantic roles & 50–950 ramp

primary
#3D2482
secondary
#98B34F
accent
#E048B7
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #3D2482

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

Preview Lab → · Contrast checker → · Palette generator →

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