#3D2D73#3D2D73

#3D2D73 is a dark, moderate violet. Relative luminance 0.041; OKLCH L 35.6% C 0.115 H 289.8°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#3D2D73
RGBrgb(61, 45, 115)
HSLhsl(254, 44%, 31%)
HSVhsv(254, 61%, 45%)
CMYKcmyk(47%, 60.9%, 0%, 54.9%)
CIE-LABlab(24.02, 26.10, -38.05)
CIE-LCHlch(24.02, 46.14, 304.45°)
OKLaboklab(35.59% 0.039 -0.1085)
OKLCHoklch(35.59% 0.115 289.8)
XYZxyz(5.9565, 4.1065, 16.6951)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2D73 #63732D
analogous
#2D4073 #3D2D73 #602D73
triadic
#3D2D73 #733D2D #2D733D
tetradic
#3D2D73 #732D40 #63732D #2D7360
square
#3D2D73 #732D40 #63732D #2D7360
split-complementary
#3D2D73 #73602D #40732D
monochromatic
#0E0B1B #261C47 #3D2D73 #543E9F #725BBF

Accessibility & contrast

On white

11.53
#3D2D73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#3D2D73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2D73
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2D73#FFFFFF#000000##FFFFFF
##3D2D731.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A75
Deuteranopia (green-blind)
#023771
Tritanopia (blue-blind)
#2D3D4B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #3d2d73;
/* rgb */ color: rgb(61, 45, 115);
/* oklch */ color: oklch(35.6% 0.115 289.8);
Tailwind
colors: {
  custom: {
    50: '#77669c',
    500: '#3d2d73',
    950: '#000000',
  },
}
SCSS
$custom: #3d2d73;
$custom-light: #77669c;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2d73",
  "rgb": {
    "r": 61,
    "g": 45,
    "b": 115
  },
  "hsl": {
    "h": 253.714,
    "s": 43.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.35592,
    "c": 0.11532,
    "h": 289.8
  },
  "luminance": 0.04107
}

Semantic roles & 50–950 ramp

primary
#3D2D73
secondary
#93A457
accent
#D354B6
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#09060E
muted
#7B7A7E

Preview Lab

Preview with #3D2D73

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

Preview Lab → · Contrast checker → · Palette generator →

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