#3D2596#3D2596

#3D2596 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.5% C 0.172 H 284.1°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#3D2596
RGBrgb(61, 37, 150)
HSLhsl(253, 60%, 37%)
HSVhsv(253, 75%, 59%)
CMYKcmyk(59.3%, 75.3%, 0%, 41.2%)
CIE-LABlab(25.31, 41.87, -57.89)
CIE-LCHlch(25.31, 71.44, 305.88°)
OKLaboklab(37.46% 0.042 -0.1668)
OKLCHoklch(37.46% 0.172 284.1)
XYZxyz(8.0894, 4.5167, 29.2938)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2596 #7E9625
analogous
#254696 #3D2596 #762596
triadic
#3D2596 #963D25 #25963D
tetradic
#3D2596 #962546 #7E9625 #259676
square
#3D2596 #962546 #7E9625 #259676
split-complementary
#3D2596 #967625 #469625
monochromatic
#150D34 #291965 #3D2596 #5131C7 #785ED7

Accessibility & contrast

On white

11.03
#3D2596 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#3D2596 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2596
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2596#FFFFFF#000000##FFFFFF
##3D25961.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F99
Deuteranopia (green-blind)
#003894
Tritanopia (blue-blind)
#09445B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3d2596;
/* rgb */ color: rgb(61, 37, 150);
/* oklch */ color: oklch(37.5% 0.172 284.1);
Tailwind
colors: {
  custom: {
    50: '#7d62b6',
    500: '#3d2596',
    950: '#000000',
  },
}
SCSS
$custom: #3d2596;
$custom-light: #7d62b6;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2596",
  "rgb": {
    "r": 61,
    "g": 37,
    "b": 150
  },
  "hsl": {
    "h": 252.743,
    "s": 60.428,
    "l": 36.667
  },
  "oklch": {
    "l": 0.37463,
    "c": 0.17197,
    "h": 284.1
  },
  "luminance": 0.04517
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3D2596

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

Preview Lab → · Contrast checker → · Palette generator →

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