#3D1759#3D1759

#3D1759 is a dark, moderate violet. Relative luminance 0.023; OKLCH L 29.9% C 0.114 H 307.2°. Best body text is #FFFFFF at 14.33:1 contrast (WCAG AA passes).

Color values

HEX#3D1759
RGBrgb(61, 23, 89)
HSLhsl(275, 59%, 22%)
HSVhsv(275, 74%, 35%)
CMYKcmyk(31.5%, 74.2%, 0%, 65.1%)
CIE-LABlab(17.11, 31.67, -32.19)
CIE-LCHlch(17.11, 45.16, 314.54°)
OKLaboklab(29.94% 0.0691 -0.0912)
OKLCHoklch(29.94% 0.114 307.2)
XYZxyz(4.0337, 2.3262, 9.6858)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1759 #335917
analogous
#1C1759 #3D1759 #591754
triadic
#3D1759 #593D17 #17593D
tetradic
#3D1759 #591C17 #335917 #175459
square
#3D1759 #591C17 #335917 #175459
split-complementary
#3D1759 #545917 #17591C
monochromatic
#110618 #1C0A28 #3D1759 #5E248A #8030BA

Accessibility & contrast

On white

14.33
#3D1759 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#3D1759 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1759
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1759#FFFFFF#000000##FFFFFF
##3D17591.0014.331.4714.33
#FFFFFF14.331.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295B
Deuteranopia (green-blind)
#062A58
Tritanopia (blue-blind)
#382636
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #3d1759;
/* rgb */ color: rgb(61, 23, 89);
/* oklch */ color: oklch(29.9% 0.114 307.2);
Tailwind
colors: {
  custom: {
    50: '#765788',
    500: '#3d1759',
    950: '#000000',
  },
}
SCSS
$custom: #3d1759;
$custom-light: #765788;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1759",
  "rgb": {
    "r": 61,
    "g": 23,
    "b": 89
  },
  "hsl": {
    "h": 274.545,
    "s": 58.929,
    "l": 21.961
  },
  "oklch": {
    "l": 0.29942,
    "c": 0.11449,
    "h": 307.2
  },
  "luminance": 0.02326
}

Semantic roles & 50–950 ramp

primary
#3D1759
secondary
#60903C
accent
#E24688
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3D1759

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

Preview Lab → · Contrast checker → · Palette generator →

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