#3D2A97#3D2A97

#3D2A97 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.3% C 0.168 H 283.0°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#3D2A97
RGBrgb(61, 42, 151)
HSLhsl(250, 56%, 38%)
HSVhsv(250, 72%, 59%)
CMYKcmyk(59.6%, 72.2%, 0%, 40.8%)
CIE-LABlab(26.40, 39.42, -56.72)
CIE-LCHlch(26.40, 69.07, 304.80°)
OKLaboklab(38.26% 0.0378 -0.1634)
OKLCHoklch(38.26% 0.168 283)
XYZxyz(8.3366, 4.8818, 29.7752)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2A97 #84972A
analogous
#2A4D97 #3D2A97 #742A97
triadic
#3D2A97 #973D2A #2A973D
tetradic
#3D2A97 #972A4D #84972A #2A9774
square
#3D2A97 #972A4D #84972A #2A9774
split-complementary
#3D2A97 #97742A #4D972A
monochromatic
#160F37 #2A1D67 #3D2A97 #5037C7 #7A67D5

Accessibility & contrast

On white

10.63
#3D2A97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#3D2A97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2A97
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2A97#FFFFFF#000000##FFFFFF
##3D2A971.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429A
Deuteranopia (green-blind)
#003B95
Tritanopia (blue-blind)
#05475D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3d2a97;
/* rgb */ color: rgb(61, 42, 151);
/* oklch */ color: oklch(38.3% 0.168 283.0);
Tailwind
colors: {
  custom: {
    50: '#7d65b7',
    500: '#3d2a97',
    950: '#000000',
  },
}
SCSS
$custom: #3d2a97;
$custom-light: #7d65b7;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2a97",
  "rgb": {
    "r": 61,
    "g": 42,
    "b": 151
  },
  "hsl": {
    "h": 250.459,
    "s": 56.477,
    "l": 37.843
  },
  "oklch": {
    "l": 0.38261,
    "c": 0.1677,
    "h": 283
  },
  "luminance": 0.04882
}

Semantic roles & 50–950 ramp

primary
#3D2A97
secondary
#ABBB62
accent
#E048C5
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #3D2A97

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

Preview Lab → · Contrast checker → · Palette generator →

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