#3D1B80#3D1B80

#3D1B80 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.0% C 0.156 H 291.0°. Best body text is #FFFFFF at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#3D1B80
RGBrgb(61, 27, 128)
HSLhsl(260, 65%, 30%)
HSVhsv(260, 79%, 50%)
CMYKcmyk(52.3%, 78.9%, 0%, 49.8%)
CIE-LABlab(21.34, 40.47, -50.69)
CIE-LCHlch(21.34, 64.87, 308.60°)
OKLaboklab(34.01% 0.056 -0.1456)
OKLCHoklch(34.01% 0.156 291)
XYZxyz(6.2116, 3.3342, 20.7342)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1B80 #5E801B
analogous
#1B2B80 #3D1B80 #6F1B80
triadic
#3D1B80 #803D1B #1B803D
tetradic
#3D1B80 #801B2B #5E801B #1B806F
square
#3D1B80 #801B2B #5E801B #1B806F
split-complementary
#3D1B80 #806F1B #2B801B
monochromatic
#0D061B #25104D #3D1B80 #5526B3 #723FD6

Accessibility & contrast

On white

12.60
#3D1B80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#3D1B80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1B80
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1B80#FFFFFF#000000##FFFFFF
##3D1B801.0012.601.6712.60
#FFFFFF12.601.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003583
Deuteranopia (green-blind)
#00317E
Tritanopia (blue-blind)
#26374D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #3d1b80;
/* rgb */ color: rgb(61, 27, 128);
/* oklch */ color: oklch(34.0% 0.156 291.0);
Tailwind
colors: {
  custom: {
    50: '#7a5ca6',
    500: '#3d1b80',
    950: '#000000',
  },
}
SCSS
$custom: #3d1b80;
$custom-light: #7a5ca6;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1b80",
  "rgb": {
    "r": 61,
    "g": 27,
    "b": 128
  },
  "hsl": {
    "h": 260.198,
    "s": 65.161,
    "l": 30.392
  },
  "oklch": {
    "l": 0.34011,
    "c": 0.156,
    "h": 291
  },
  "luminance": 0.03334
}

Semantic roles & 50–950 ramp

primary
#3D1B80
secondary
#8EB443
accent
#E840AF
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #3D1B80

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

Preview Lab → · Contrast checker → · Palette generator →

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