#3D2999#3D2999

#3D2999 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.3% C 0.171 H 282.9°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#3D2999
RGBrgb(61, 41, 153)
HSLhsl(251, 58%, 38%)
HSVhsv(251, 73%, 60%)
CMYKcmyk(60.1%, 73.2%, 0%, 40%)
CIE-LABlab(26.38, 40.61, -57.97)
CIE-LCHlch(26.38, 70.78, 305.01°)
OKLaboklab(38.31% 0.0382 -0.167)
OKLCHoklch(38.31% 0.171 282.9)
XYZxyz(8.4654, 4.8773, 30.6261)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2999 #859929
analogous
#294D99 #3D2999 #752999
triadic
#3D2999 #993D29 #29993D
tetradic
#3D2999 #99294D #859929 #299975
square
#3D2999 #99294D #859929 #299975
split-complementary
#3D2999 #997529 #4D9929
monochromatic
#170F38 #2A1C69 #3D2999 #5036C9 #7A66D6

Accessibility & contrast

On white

10.63
#3D2999 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#3D2999 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2999
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2999#FFFFFF#000000##FFFFFF
##3D29991.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429C
Deuteranopia (green-blind)
#003B97
Tritanopia (blue-blind)
#00485E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3d2999;
/* rgb */ color: rgb(61, 41, 153);
/* oklch */ color: oklch(38.3% 0.171 282.9);
Tailwind
colors: {
  custom: {
    50: '#7e65b8',
    500: '#3d2999',
    950: '#000000',
  },
}
SCSS
$custom: #3d2999;
$custom-light: #7e65b8;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2999",
  "rgb": {
    "r": 61,
    "g": 41,
    "b": 153
  },
  "hsl": {
    "h": 250.714,
    "s": 57.732,
    "l": 38.039
  },
  "oklch": {
    "l": 0.38309,
    "c": 0.17134,
    "h": 282.9
  },
  "luminance": 0.04878
}

Semantic roles & 50–950 ramp

primary
#3D2999
secondary
#ACBC62
accent
#E147C5
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #3D2999

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

Preview Lab → · Contrast checker → · Palette generator →

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