#3D2597#3D2597

#3D2597 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.6% C 0.173 H 284.0°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#3D2597
RGBrgb(61, 37, 151)
HSLhsl(253, 61%, 37%)
HSVhsv(253, 75%, 59%)
CMYKcmyk(59.6%, 75.5%, 0%, 40.8%)
CIE-LABlab(25.41, 42.18, -58.34)
CIE-LCHlch(25.41, 71.99, 305.87°)
OKLaboklab(37.56% 0.0418 -0.1681)
OKLCHoklch(37.56% 0.173 284)
XYZxyz(8.1702, 4.5491, 29.7197)
Luminance0.0455 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2597 #7F9725
analogous
#254697 #3D2597 #762597
triadic
#3D2597 #973D25 #25973D
tetradic
#3D2597 #972546 #7F9725 #259776
square
#3D2597 #972546 #7F9725 #259776
split-complementary
#3D2597 #977625 #469725
monochromatic
#150D35 #291966 #3D2597 #5131C8 #785FD8

Accessibility & contrast

On white

10.99
#3D2597 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#3D2597 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2597
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2597#FFFFFF#000000##FFFFFF
##3D25971.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409A
Deuteranopia (green-blind)
#003895
Tritanopia (blue-blind)
#06455C
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3d2597;
/* rgb */ color: rgb(61, 37, 151);
/* oklch */ color: oklch(37.6% 0.173 284.0);
Tailwind
colors: {
  custom: {
    50: '#7e62b7',
    500: '#3d2597',
    950: '#000000',
  },
}
SCSS
$custom: #3d2597;
$custom-light: #7e62b7;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2597",
  "rgb": {
    "r": 61,
    "g": 37,
    "b": 151
  },
  "hsl": {
    "h": 252.632,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.37562,
    "c": 0.17319,
    "h": 284
  },
  "luminance": 0.0455
}

Semantic roles & 50–950 ramp

primary
#3D2597
secondary
#A8BD5B
accent
#E444C2
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0511
muted
#7C7A80

Preview Lab

Preview with #3D2597

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

Preview Lab → · Contrast checker → · Palette generator →

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