#3D2397#3D2397

#3D2397 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.3% C 0.175 H 284.3°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#3D2397
RGBrgb(61, 35, 151)
HSLhsl(253, 62%, 36%)
HSVhsv(253, 77%, 59%)
CMYKcmyk(59.6%, 76.8%, 0%, 40.8%)
CIE-LABlab(25.04, 43.23, -58.95)
CIE-LCHlch(25.04, 73.10, 306.25°)
OKLaboklab(37.3% 0.0432 -0.1698)
OKLCHoklch(37.3% 0.175 284.3)
XYZxyz(8.1097, 4.4280, 29.6995)
Luminance0.0443 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2397 #7D9723
analogous
#234397 #3D2397 #772397
triadic
#3D2397 #973D23 #23973D
tetradic
#3D2397 #972343 #7D9723 #239777
square
#3D2397 #972343 #7D9723 #239777
split-complementary
#3D2397 #977723 #439723
monochromatic
#150C34 #291765 #3D2397 #512FC9 #785BD9

Accessibility & contrast

On white

11.14
#3D2397 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#3D2397 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2397
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2397#FFFFFF#000000##FFFFFF
##3D23971.0011.141.8911.14
#FFFFFF11.141.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9A
Deuteranopia (green-blind)
#003895
Tritanopia (blue-blind)
#06445C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3d2397;
/* rgb */ color: rgb(61, 35, 151);
/* oklch */ color: oklch(37.3% 0.175 284.3);
Tailwind
colors: {
  custom: {
    50: '#7e61b7',
    500: '#3d2397',
    950: '#000000',
  },
}
SCSS
$custom: #3d2397;
$custom-light: #7e61b7;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2397",
  "rgb": {
    "r": 61,
    "g": 35,
    "b": 151
  },
  "hsl": {
    "h": 253.448,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.37301,
    "c": 0.17527,
    "h": 284.3
  },
  "luminance": 0.04429
}

Semantic roles & 50–950 ramp

primary
#3D2397
secondary
#A7BE58
accent
#E542C1
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3D2397

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

Preview Lab → · Contrast checker → · Palette generator →

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