#3D2F71#3D2F71

#3D2F71 is a dark, moderate violet. Relative luminance 0.042; OKLCH L 35.8% C 0.109 H 289.5°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#3D2F71
RGBrgb(61, 47, 113)
HSLhsl(253, 41%, 31%)
HSVhsv(253, 58%, 44%)
CMYKcmyk(46%, 58.4%, 0%, 55.7%)
CIE-LABlab(24.38, 24.17, -36.19)
CIE-LCHlch(24.38, 43.52, 303.73°)
OKLaboklab(35.81% 0.0364 -0.1031)
OKLCHoklch(35.81% 0.109 289.5)
XYZxyz(5.9208, 4.2172, 16.1216)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2F71 #63712F
analogous
#2F4271 #3D2F71 #5E2F71
triadic
#3D2F71 #713D2F #2F713D
tetradic
#3D2F71 #712F42 #63712F #2F715E
square
#3D2F71 #712F42 #63712F #2F715E
split-complementary
#3D2F71 #715E2F #42712F
monochromatic
#0E0B1B #261D46 #3D2F71 #54419C #725EBC

Accessibility & contrast

On white

11.39
#3D2F71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#3D2F71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2F71
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2F71#FFFFFF#000000##FFFFFF
##3D2F711.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B3B73
Deuteranopia (green-blind)
#0D3870
Tritanopia (blue-blind)
#2E3D4B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #3d2f71;
/* rgb */ color: rgb(61, 47, 113);
/* oklch */ color: oklch(35.8% 0.109 289.5);
Tailwind
colors: {
  custom: {
    50: '#76689a',
    500: '#3d2f71',
    950: '#000000',
  },
}
SCSS
$custom: #3d2f71;
$custom-light: #76689a;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2f71",
  "rgb": {
    "r": 61,
    "g": 47,
    "b": 113
  },
  "hsl": {
    "h": 252.727,
    "s": 41.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.35808,
    "c": 0.10931,
    "h": 289.5
  },
  "luminance": 0.04217
}

Semantic roles & 50–950 ramp

primary
#3D2F71
secondary
#93A25A
accent
#D157B7
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#09060E
muted
#7B7A7E

Preview Lab

Preview with #3D2F71

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

Preview Lab → · Contrast checker → · Palette generator →

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