#3D2485#3D2485

#3D2485 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.7% C 0.152 H 287.9°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#3D2485
RGBrgb(61, 36, 133)
HSLhsl(255, 57%, 33%)
HSVhsv(255, 73%, 52%)
CMYKcmyk(54.1%, 72.9%, 0%, 47.8%)
CIE-LABlab(23.50, 37.20, -50.30)
CIE-LCHlch(23.50, 62.57, 306.49°)
OKLaboklab(35.68% 0.0468 -0.1445)
OKLCHoklch(35.68% 0.152 287.9)
XYZxyz(6.7877, 3.9470, 22.5899)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2485 #6C8524
analogous
#243B85 #3D2485 #6D2485
triadic
#3D2485 #853D24 #24853D
tetradic
#3D2485 #85243B #6C8524 #24856D
square
#3D2485 #85243B #6C8524 #24856D
split-complementary
#3D2485 #856D24 #3B8524
monochromatic
#110A25 #271755 #3D2485 #5331B5 #7353D0

Accessibility & contrast

On white

11.74
#3D2485 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#3D2485 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2485
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2485#FFFFFF#000000##FFFFFF
##3D24851.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A88
Deuteranopia (green-blind)
#003583
Tritanopia (blue-blind)
#213D52
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #3d2485;
/* rgb */ color: rgb(61, 36, 133);
/* oklch */ color: oklch(35.7% 0.152 287.9);
Tailwind
colors: {
  custom: {
    50: '#7a61a9',
    500: '#3d2485',
    950: '#000000',
  },
}
SCSS
$custom: #3d2485;
$custom-light: #7a61a9;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2485",
  "rgb": {
    "r": 61,
    "g": 36,
    "b": 133
  },
  "hsl": {
    "h": 255.464,
    "s": 57.396,
    "l": 33.137
  },
  "oklch": {
    "l": 0.35681,
    "c": 0.15192,
    "h": 287.9
  },
  "luminance": 0.03947
}

Semantic roles & 50–950 ramp

primary
#3D2485
secondary
#9BB450
accent
#E147B9
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #3D2485

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

Preview Lab → · Contrast checker → · Palette generator →

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