#3D2379#3D2379

#3D2379 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.4% C 0.138 H 291.3°. Best body text is #FFFFFF at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#3D2379
RGBrgb(61, 35, 121)
HSLhsl(258, 55%, 31%)
HSVhsv(258, 71%, 47%)
CMYKcmyk(49.6%, 71.1%, 0%, 52.5%)
CIE-LABlab(22.21, 34.11, -44.81)
CIE-LCHlch(22.21, 56.32, 307.28°)
OKLaboklab(34.43% 0.0501 -0.1284)
OKLCHoklch(34.43% 0.138 291.3)
XYZxyz(5.9757, 3.5744, 18.4605)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2379 #5F7923
analogous
#233479 #3D2379 #682379
triadic
#3D2379 #793D23 #23793D
tetradic
#3D2379 #792334 #5F7923 #237968
square
#3D2379 #792334 #5F7923 #237968
split-complementary
#3D2379 #796823 #347923
monochromatic
#0D081A #25154A #3D2379 #5531A8 #724BCB

Accessibility & contrast

On white

12.24
#3D2379 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#3D2379 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2379
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2379#FFFFFF#000000##FFFFFF
##3D23791.0012.241.7212.24
#FFFFFF12.241.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367C
Deuteranopia (green-blind)
#003377
Tritanopia (blue-blind)
#2A384B
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #3d2379;
/* rgb */ color: rgb(61, 35, 121);
/* oklch */ color: oklch(34.4% 0.138 291.3);
Tailwind
colors: {
  custom: {
    50: '#7960a0',
    500: '#3d2379',
    950: '#000000',
  },
}
SCSS
$custom: #3d2379;
$custom-light: #7960a0;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2379",
  "rgb": {
    "r": 61,
    "g": 35,
    "b": 121
  },
  "hsl": {
    "h": 258.14,
    "s": 55.128,
    "l": 30.588
  },
  "oklch": {
    "l": 0.34431,
    "c": 0.13784,
    "h": 291.3
  },
  "luminance": 0.03575
}

Semantic roles & 50–950 ramp

primary
#3D2379
secondary
#8FAC4C
accent
#DE49B1
background
#F7F5FA
surface
#EEE9F3
border
#C9C5CD
text
#09050F
muted
#7B797F

Preview Lab

Preview with #3D2379

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

Preview Lab → · Contrast checker → · Palette generator →

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