#3D2F74#3D2F74

#3D2F74 is a dark, moderate violet. Relative luminance 0.043; OKLCH L 36.0% C 0.114 H 288.7°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#3D2F74
RGBrgb(61, 47, 116)
HSLhsl(252, 42%, 32%)
HSVhsv(252, 59%, 45%)
CMYKcmyk(47.4%, 59.5%, 0%, 54.5%)
CIE-LABlab(24.59, 25.13, -37.76)
CIE-LCHlch(24.59, 45.35, 303.64°)
OKLaboklab(36.04% 0.0365 -0.1077)
OKLCHoklch(36.04% 0.114 288.7)
XYZxyz(6.0925, 4.2859, 17.0259)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2F74 #66742F
analogous
#2F4474 #3D2F74 #602F74
triadic
#3D2F74 #743D2F #2F743D
tetradic
#3D2F74 #742F44 #66742F #2F7460
square
#3D2F74 #742F44 #66742F #2F7460
split-complementary
#3D2F74 #74602F #44742F
monochromatic
#0F0C1D #261D48 #3D2F74 #5441A0 #725FBE

Accessibility & contrast

On white

11.31
#3D2F74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D2F74
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2F74#FFFFFF#000000##FFFFFF
##3D2F741.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#043C76
Deuteranopia (green-blind)
#063973
Tritanopia (blue-blind)
#2C3E4C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #3d2f74;
/* rgb */ color: rgb(61, 47, 116);
/* oklch */ color: oklch(36.0% 0.114 288.7);
Tailwind
colors: {
  custom: {
    50: '#77689c',
    500: '#3d2f74',
    950: '#000000',
  },
}
SCSS
$custom: #3d2f74;
$custom-light: #77689c;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2f74",
  "rgb": {
    "r": 61,
    "g": 47,
    "b": 116
  },
  "hsl": {
    "h": 252.174,
    "s": 42.331,
    "l": 31.961
  },
  "oklch": {
    "l": 0.36039,
    "c": 0.11368,
    "h": 288.7
  },
  "luminance": 0.04286
}

Semantic roles & 50–950 ramp

primary
#3D2F74
secondary
#96A55A
accent
#D256B9
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#09060E
muted
#7B7A7E

Preview Lab

Preview with #3D2F74

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

Preview Lab → · Contrast checker → · Palette generator →

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