#3D2573#3D2573

#3D2573 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.2% C 0.127 H 292.5°. Best body text is #FFFFFF at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#3D2573
RGBrgb(61, 37, 115)
HSLhsl(258, 51%, 30%)
HSVhsv(258, 68%, 45%)
CMYKcmyk(47%, 67.8%, 0%, 54.9%)
CIE-LABlab(22.13, 31.11, -41.10)
CIE-LCHlch(22.13, 51.54, 307.12°)
OKLaboklab(34.22% 0.0488 -0.1175)
OKLCHoklch(34.22% 0.127 292.5)
XYZxyz(5.6797, 3.5529, 16.6028)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2573 #5B7325
analogous
#253473 #3D2573 #642573
triadic
#3D2573 #733D25 #25733D
tetradic
#3D2573 #732534 #5B7325 #257364
square
#3D2573 #732534 #5B7325 #257364
split-complementary
#3D2573 #736425 #347325
monochromatic
#0C0717 #241645 #3D2573 #5634A1 #724DC6

Accessibility & contrast

On white

12.28
#3D2573 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#3D2573 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2573
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2573#FFFFFF#000000##FFFFFF
##3D25731.0012.281.7112.28
#FFFFFF12.281.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003675
Deuteranopia (green-blind)
#003371
Tritanopia (blue-blind)
#2D3748
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #3d2573;
/* rgb */ color: rgb(61, 37, 115);
/* oklch */ color: oklch(34.2% 0.127 292.5);
Tailwind
colors: {
  custom: {
    50: '#78619c',
    500: '#3d2573',
    950: '#000000',
  },
}
SCSS
$custom: #3d2573;
$custom-light: #78619c;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2573",
  "rgb": {
    "r": 61,
    "g": 37,
    "b": 115
  },
  "hsl": {
    "h": 258.462,
    "s": 51.316,
    "l": 29.804
  },
  "oklch": {
    "l": 0.34217,
    "c": 0.12722,
    "h": 292.5
  },
  "luminance": 0.03553
}

Semantic roles & 50–950 ramp

primary
#3D2573
secondary
#8BA64E
accent
#DB4DAF
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#09050E
muted
#7B797E

Preview Lab

Preview with #3D2573

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

Preview Lab → · Contrast checker → · Palette generator →

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