#3D2484#3D2484

#3D2484 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.6% C 0.151 H 288.2°. Best body text is #FFFFFF at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#3D2484
RGBrgb(61, 36, 132)
HSLhsl(256, 57%, 33%)
HSVhsv(256, 73%, 52%)
CMYKcmyk(53.8%, 72.7%, 0%, 48.2%)
CIE-LABlab(23.40, 36.90, -49.83)
CIE-LCHlch(23.40, 62.00, 306.52°)
OKLaboklab(35.59% 0.047 -0.1431)
OKLCHoklch(35.59% 0.151 288.2)
XYZxyz(6.7190, 3.9195, 22.2278)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2484 #6B8424
analogous
#243B84 #3D2484 #6D2484
triadic
#3D2484 #843D24 #24843D
tetradic
#3D2484 #84243B #6B8424 #24846D
square
#3D2484 #84243B #6B8424 #24846D
split-complementary
#3D2484 #846D24 #3B8424
monochromatic
#110A24 #271754 #3D2484 #5331B4 #7352D0

Accessibility & contrast

On white

11.77
#3D2484 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#3D2484 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2484
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2484#FFFFFF#000000##FFFFFF
##3D24841.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A87
Deuteranopia (green-blind)
#003582
Tritanopia (blue-blind)
#223D51
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #3d2484;
/* rgb */ color: rgb(61, 36, 132);
/* oklch */ color: oklch(35.6% 0.151 288.2);
Tailwind
colors: {
  custom: {
    50: '#7a61a9',
    500: '#3d2484',
    950: '#000000',
  },
}
SCSS
$custom: #3d2484;
$custom-light: #7a61a9;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2484",
  "rgb": {
    "r": 61,
    "g": 36,
    "b": 132
  },
  "hsl": {
    "h": 255.625,
    "s": 57.143,
    "l": 32.941
  },
  "oklch": {
    "l": 0.35588,
    "c": 0.15066,
    "h": 288.2
  },
  "luminance": 0.0392
}

Semantic roles & 50–950 ramp

primary
#3D2484
secondary
#9AB450
accent
#E047B9
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #3D2484

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

Preview Lab → · Contrast checker → · Palette generator →

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