#3D2A73#3D2A73

#3D2A73 is a dark, moderate violet. Relative luminance 0.039; OKLCH L 35.1% C 0.120 H 290.9°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#3D2A73
RGBrgb(61, 42, 115)
HSLhsl(256, 46%, 31%)
HSVhsv(256, 63%, 45%)
CMYKcmyk(47%, 63.5%, 0%, 54.9%)
CIE-LABlab(23.29, 28.02, -39.23)
CIE-LCHlch(23.29, 48.21, 305.54°)
OKLaboklab(35.06% 0.0428 -0.112)
OKLCHoklch(35.06% 0.12 290.9)
XYZxyz(5.8461, 3.8856, 16.6583)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2A73 #60732A
analogous
#2A3B73 #3D2A73 #612A73
triadic
#3D2A73 #733D2A #2A733D
tetradic
#3D2A73 #732A3B #60732A #2A7361
square
#3D2A73 #732A3B #60732A #2A7361
split-complementary
#3D2A73 #73612A #3B732A
monochromatic
#0D0919 #251A46 #3D2A73 #553AA0 #7256C1

Accessibility & contrast

On white

11.82
#3D2A73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#3D2A73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2A73
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2A73#FFFFFF#000000##FFFFFF
##3D2A731.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003975
Deuteranopia (green-blind)
#003671
Tritanopia (blue-blind)
#2D3B4A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #3d2a73;
/* rgb */ color: rgb(61, 42, 115);
/* oklch */ color: oklch(35.1% 0.120 290.9);
Tailwind
colors: {
  custom: {
    50: '#77649c',
    500: '#3d2a73',
    950: '#000000',
  },
}
SCSS
$custom: #3d2a73;
$custom-light: #77649c;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2a73",
  "rgb": {
    "r": 61,
    "g": 42,
    "b": 115
  },
  "hsl": {
    "h": 255.616,
    "s": 46.497,
    "l": 30.784
  },
  "oklch": {
    "l": 0.35056,
    "c": 0.11989,
    "h": 290.9
  },
  "luminance": 0.03886
}

Semantic roles & 50–950 ramp

primary
#3D2A73
secondary
#90A554
accent
#D652B4
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#09050E
muted
#7B7A7E

Preview Lab

Preview with #3D2A73

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

Preview Lab → · Contrast checker → · Palette generator →

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