#3D2A8D#3D2A8D

#3D2A8D is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.3% C 0.155 H 284.9°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#3D2A8D
RGBrgb(61, 42, 141)
HSLhsl(252, 54%, 36%)
HSVhsv(252, 70%, 55%)
CMYKcmyk(56.7%, 70.2%, 0%, 44.7%)
CIE-LABlab(25.47, 36.25, -52.06)
CIE-LCHlch(25.47, 63.43, 304.85°)
OKLaboklab(37.32% 0.0397 -0.1497)
OKLCHoklch(37.32% 0.155 284.9)
XYZxyz(7.5587, 4.5707, 25.6781)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2A8D #7A8D2A
analogous
#2A488D #3D2A8D #6E2A8D
triadic
#3D2A8D #8D3D2A #2A8D3D
tetradic
#3D2A8D #8D2A48 #7A8D2A #2A8D6E
square
#3D2A8D #8D2A48 #7A8D2A #2A8D6E
split-complementary
#3D2A8D #8D6E2A #488D2A
monochromatic
#140E2F #291C5E #3D2A8D #5138BC #7761D0

Accessibility & contrast

On white

10.97
#3D2A8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D2A8D
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2A8D#FFFFFF#000000##FFFFFF
##3D2A8D1.0010.971.9110.97
#FFFFFF10.971.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F90
Deuteranopia (green-blind)
#00398B
Tritanopia (blue-blind)
#184458
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3d2a8d;
/* rgb */ color: rgb(61, 42, 141);
/* oklch */ color: oklch(37.3% 0.155 284.9);
Tailwind
colors: {
  custom: {
    50: '#7b65af',
    500: '#3d2a8d',
    950: '#000000',
  },
}
SCSS
$custom: #3d2a8d;
$custom-light: #7b65af;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2a8d",
  "rgb": {
    "r": 61,
    "g": 42,
    "b": 141
  },
  "hsl": {
    "h": 251.515,
    "s": 54.098,
    "l": 35.882
  },
  "oklch": {
    "l": 0.3732,
    "c": 0.15487,
    "h": 284.9
  },
  "luminance": 0.04571
}

Semantic roles & 50–950 ramp

primary
#3D2A8D
secondary
#A5B65D
accent
#DD4AC1
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #3D2A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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