#3D2452#3D2452

#3D2452 is a dark, moderate violet. Relative luminance 0.029; OKLCH L 31.5% C 0.084 H 307.4°. Best body text is #FFFFFF at 13.35:1 contrast (WCAG AA passes).

Color values

HEX#3D2452
RGBrgb(61, 36, 82)
HSLhsl(273, 39%, 23%)
HSVhsv(273, 56%, 32%)
CMYKcmyk(25.6%, 56.1%, 0%, 67.8%)
CIE-LABlab(19.49, 22.08, -23.68)
CIE-LCHlch(19.49, 32.38, 313.00°)
OKLaboklab(31.51% 0.0507 -0.0664)
OKLCHoklch(31.51% 0.084 307.4)
XYZxyz(4.0780, 2.8631, 8.3188)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2452 #395224
analogous
#262452 #3D2452 #522450
triadic
#3D2452 #523D24 #24523D
tetradic
#3D2452 #522624 #395224 #245052
square
#3D2452 #522624 #395224 #245052
split-complementary
#3D2452 #505224 #245226
monochromatic
#100915 #1D1127 #3D2452 #5D377D #7C49A7

Accessibility & contrast

On white

13.35
#3D2452 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#3D2452 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2452
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2452#FFFFFF#000000##FFFFFF
##3D24521.0013.351.5713.35
#FFFFFF13.351.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172E54
Deuteranopia (green-blind)
#1E2F51
Tritanopia (blue-blind)
#3A2C37
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #3d2452;
/* rgb */ color: rgb(61, 36, 82);
/* oklch */ color: oklch(31.5% 0.084 307.4);
Tailwind
colors: {
  custom: {
    50: '#745f83',
    500: '#3d2452',
    950: '#000000',
  },
}
SCSS
$custom: #3d2452;
$custom-light: #745f83;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2452",
  "rgb": {
    "r": 61,
    "g": 36,
    "b": 82
  },
  "hsl": {
    "h": 272.609,
    "s": 38.983,
    "l": 23.137
  },
  "oklch": {
    "l": 0.31511,
    "c": 0.08354,
    "h": 307.4
  },
  "luminance": 0.02863
}

Semantic roles & 50–950 ramp

primary
#3D2452
secondary
#66864C
accent
#CF598F
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#08040A
muted
#7B797C

Preview Lab

Preview with #3D2452

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

Preview Lab → · Contrast checker → · Palette generator →

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