#3D1B73#3D1B73

#3D1B73 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.8% C 0.140 H 295.1°. Best body text is #FFFFFF at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#3D1B73
RGBrgb(61, 27, 115)
HSLhsl(263, 62%, 28%)
HSVhsv(263, 77%, 45%)
CMYKcmyk(47%, 76.5%, 0%, 54.9%)
CIE-LABlab(20.10, 36.74, -44.42)
CIE-LCHlch(20.10, 57.64, 309.60°)
OKLaboklab(32.76% 0.0595 -0.1272)
OKLCHoklch(32.76% 0.14 295.1)
XYZxyz(5.4101, 3.0136, 16.5130)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1B73 #51731B
analogous
#1B2573 #3D1B73 #691B73
triadic
#3D1B73 #733D1B #1B733D
tetradic
#3D1B73 #731B25 #51731B #1B7369
square
#3D1B73 #731B25 #51731B #1B7369
split-complementary
#3D1B73 #73691B #25731B
monochromatic
#0D0619 #230F41 #3D1B73 #5727A5 #7338D0

Accessibility & contrast

On white

13.10
#3D1B73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#3D1B73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1B73
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1B73#FFFFFF#000000##FFFFFF
##3D1B731.0013.101.6013.10
#FFFFFF13.101.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003176
Deuteranopia (green-blind)
#002F71
Tritanopia (blue-blind)
#2E3245
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #3d1b73;
/* rgb */ color: rgb(61, 27, 115);
/* oklch */ color: oklch(32.8% 0.140 295.1);
Tailwind
colors: {
  custom: {
    50: '#785b9c',
    500: '#3d1b73',
    950: '#000000',
  },
}
SCSS
$custom: #3d1b73;
$custom-light: #785b9c;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1b73",
  "rgb": {
    "r": 61,
    "g": 27,
    "b": 115
  },
  "hsl": {
    "h": 263.182,
    "s": 61.972,
    "l": 27.843
  },
  "oklch": {
    "l": 0.32762,
    "c": 0.14045,
    "h": 295.1
  },
  "luminance": 0.03014
}

Semantic roles & 50–950 ramp

primary
#3D1B73
secondary
#80A842
accent
#E543A6
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #3D1B73

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

Preview Lab → · Contrast checker → · Palette generator →

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