#3D304D#3D304D

#3D304D is a dark, muted violet. Relative luminance 0.036; OKLCH L 33.6% C 0.052 H 304.3°. Best body text is #FFFFFF at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#3D304D
RGBrgb(61, 48, 77)
HSLhsl(267, 23%, 25%)
HSVhsv(267, 38%, 30%)
CMYKcmyk(20.8%, 37.7%, 0%, 69.8%)
CIE-LABlab(22.45, 12.71, -15.67)
CIE-LCHlch(22.45, 20.18, 309.05°)
OKLaboklab(33.65% 0.0295 -0.0433)
OKLCHoklch(33.65% 0.052 304.3)
XYZxyz(4.3207, 3.6418, 7.4951)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D304D #404D30
analogous
#30324D #3D304D #4C304D
triadic
#3D304D #4D3D30 #304D3D
tetradic
#3D304D #4D3032 #404D30 #304D4C
square
#3D304D #4D3032 #404D30 #304D4C
split-complementary
#3D304D #4D4C30 #324D30
monochromatic
#0F0C13 #1F1827 #3D304D #5B4873 #795F98

Accessibility & contrast

On white

12.15
#3D304D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#3D304D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D304D
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D304D#FFFFFF#000000##FFFFFF
##3D304D1.0012.151.7312.15
#FFFFFF12.151.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A354E
Deuteranopia (green-blind)
#2C364C
Tritanopia (blue-blind)
#3B343B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #3d304d;
/* rgb */ color: rgb(61, 48, 77);
/* oklch */ color: oklch(33.6% 0.052 304.3);
Tailwind
colors: {
  custom: {
    50: '#73687f',
    500: '#3d304d',
    950: '#000000',
  },
}
SCSS
$custom: #3d304d;
$custom-light: #73687f;
$custom-dark: #000000;
JSON
{
  "hex": "#3d304d",
  "rgb": {
    "r": 61,
    "g": 48,
    "b": 77
  },
  "hsl": {
    "h": 266.897,
    "s": 23.2,
    "l": 24.51
  },
  "oklch": {
    "l": 0.33649,
    "c": 0.05239,
    "h": 304.3
  },
  "luminance": 0.03642
}

Semantic roles & 50–950 ramp

primary
#3D304D
secondary
#6E7E5B
accent
#C06898
background
#F7F6F7
surface
#EDEBEE
border
#C8C6C9
text
#08060A
muted
#7B7A7C

Preview Lab

Preview with #3D304D

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

Preview Lab → · Contrast checker → · Palette generator →

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