#3D2699#3D2699

#3D2699 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.9% C 0.175 H 283.4°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#3D2699
RGBrgb(61, 38, 153)
HSLhsl(252, 60%, 37%)
HSVhsv(252, 75%, 60%)
CMYKcmyk(60.1%, 75.2%, 0%, 40%)
CIE-LABlab(25.80, 42.26, -58.93)
CIE-LCHlch(25.80, 72.52, 305.64°)
OKLaboklab(37.89% 0.0405 -0.1698)
OKLCHoklch(37.89% 0.175 283.4)
XYZxyz(8.3656, 4.6777, 30.5929)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2699 #829926
analogous
#264999 #3D2699 #762699
triadic
#3D2699 #993D26 #26993D
tetradic
#3D2699 #992649 #829926 #269976
square
#3D2699 #992649 #829926 #269976
split-complementary
#3D2699 #997626 #499926
monochromatic
#160E37 #291A68 #3D2699 #5132CA #7962D8

Accessibility & contrast

On white

10.85
#3D2699 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#3D2699 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2699
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2699#FFFFFF#000000##FFFFFF
##3D26991.0010.851.9410.85
#FFFFFF10.851.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419C
Deuteranopia (green-blind)
#003997
Tritanopia (blue-blind)
#01465D
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3d2699;
/* rgb */ color: rgb(61, 38, 153);
/* oklch */ color: oklch(37.9% 0.175 283.4);
Tailwind
colors: {
  custom: {
    50: '#7e63b8',
    500: '#3d2699',
    950: '#000000',
  },
}
SCSS
$custom: #3d2699;
$custom-light: #7e63b8;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2699",
  "rgb": {
    "r": 61,
    "g": 38,
    "b": 153
  },
  "hsl": {
    "h": 252,
    "s": 60.209,
    "l": 37.451
  },
  "oklch": {
    "l": 0.37894,
    "c": 0.17459,
    "h": 283.4
  },
  "luminance": 0.04678
}

Semantic roles & 50–950 ramp

primary
#3D2699
secondary
#AABD5E
accent
#E344C4
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0511
muted
#7C7A80

Preview Lab

Preview with #3D2699

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

Preview Lab → · Contrast checker → · Palette generator →

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