#3D1A73#3D1A73

#3D1A73 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.6% C 0.142 H 295.3°. Best body text is #FFFFFF at 13.18:1 contrast (WCAG AA passes).

Color values

HEX#3D1A73
RGBrgb(61, 26, 115)
HSLhsl(264, 63%, 28%)
HSVhsv(264, 77%, 45%)
CMYKcmyk(47%, 77.4%, 0%, 54.9%)
CIE-LABlab(19.92, 37.25, -44.71)
CIE-LCHlch(19.92, 58.20, 309.80°)
OKLaboklab(32.63% 0.0605 -0.1281)
OKLCHoklch(32.63% 0.142 295.3)
XYZxyz(5.3875, 2.9686, 16.5055)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1A73 #50731A
analogous
#1A2373 #3D1A73 #6A1A73
triadic
#3D1A73 #733D1A #1A733D
tetradic
#3D1A73 #731A23 #50731A #1A736A
square
#3D1A73 #731A23 #50731A #1A736A
split-complementary
#3D1A73 #736A1A #23731A
monochromatic
#0D0619 #230F41 #3D1A73 #5725A5 #7336D2

Accessibility & contrast

On white

13.18
#3D1A73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#3D1A73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1A73
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1A73#FFFFFF#000000##FFFFFF
##3D1A731.0013.181.5913.18
#FFFFFF13.181.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3d1a73;
/* rgb */ color: rgb(61, 26, 115);
/* oklch */ color: oklch(32.6% 0.142 295.3);
Tailwind
colors: {
  custom: {
    50: '#785a9c',
    500: '#3d1a73',
    950: '#000000',
  },
}
SCSS
$custom: #3d1a73;
$custom-light: #785a9c;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1a73",
  "rgb": {
    "r": 61,
    "g": 26,
    "b": 115
  },
  "hsl": {
    "h": 263.596,
    "s": 63.121,
    "l": 27.647
  },
  "oklch": {
    "l": 0.32634,
    "c": 0.14164,
    "h": 295.3
  },
  "luminance": 0.02969
}

Semantic roles & 50–950 ramp

primary
#3D1A73
secondary
#7FA841
accent
#E642A5
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #3D1A73

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

Preview Lab → · Contrast checker → · Palette generator →

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