#3D2393#3D2393

#3D2393 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.9% C 0.170 H 285.1°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#3D2393
RGBrgb(61, 35, 147)
HSLhsl(254, 62%, 36%)
HSVhsv(254, 76%, 58%)
CMYKcmyk(58.5%, 76.2%, 0%, 42.4%)
CIE-LABlab(24.64, 42.02, -57.14)
CIE-LCHlch(24.64, 70.93, 306.33°)
OKLaboklab(36.9% 0.0443 -0.1646)
OKLCHoklch(36.9% 0.17 285.1)
XYZxyz(7.7904, 4.3003, 28.0176)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2393 #799323
analogous
#234193 #3D2393 #752393
triadic
#3D2393 #933D23 #23933D
tetradic
#3D2393 #932341 #799323 #239375
square
#3D2393 #932341 #799323 #239375
split-complementary
#3D2393 #937523 #419323
monochromatic
#140B30 #281762 #3D2393 #522FC4 #7659D7

Accessibility & contrast

On white

11.29
#3D2393 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#3D2393 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2393
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2393#FFFFFF#000000##FFFFFF
##3D23931.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E96
Deuteranopia (green-blind)
#003791
Tritanopia (blue-blind)
#104259
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #3d2393;
/* rgb */ color: rgb(61, 35, 147);
/* oklch */ color: oklch(36.9% 0.170 285.1);
Tailwind
colors: {
  custom: {
    50: '#7d61b4',
    500: '#3d2393',
    950: '#000000',
  },
}
SCSS
$custom: #3d2393;
$custom-light: #7d61b4;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2393",
  "rgb": {
    "r": 61,
    "g": 35,
    "b": 147
  },
  "hsl": {
    "h": 253.929,
    "s": 61.538,
    "l": 35.686
  },
  "oklch": {
    "l": 0.369,
    "c": 0.17042,
    "h": 285.1
  },
  "luminance": 0.04301
}

Semantic roles & 50–950 ramp

primary
#3D2393
secondary
#A4BC56
accent
#E543BF
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3D2393

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

Preview Lab → · Contrast checker → · Palette generator →

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