#3D1A67#3D1A67

#3D1A67 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.5% C 0.127 H 299.8°. Best body text is #FFFFFF at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#3D1A67
RGBrgb(61, 26, 103)
HSLhsl(267, 60%, 25%)
HSVhsv(267, 75%, 40%)
CMYKcmyk(40.8%, 74.8%, 0%, 59.6%)
CIE-LABlab(18.84, 33.87, -38.67)
CIE-LCHlch(18.84, 51.40, 311.22°)
OKLaboklab(31.54% 0.0633 -0.1103)
OKLCHoklch(31.54% 0.127 299.8)
XYZxyz(4.7414, 2.7101, 13.1026)
Luminance0.0271 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1A67 #44671A
analogous
#1A1D67 #3D1A67 #631A67
triadic
#3D1A67 #673D1A #1A673D
tetradic
#3D1A67 #671A1D #44671A #1A6763
square
#3D1A67 #671A1D #44671A #1A6763
split-complementary
#3D1A67 #67631A #1D671A
monochromatic
#0E0618 #200E36 #3D1A67 #5A2698 #7733C9

Accessibility & contrast

On white

13.62
#3D1A67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#3D1A67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1A67
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1A67#FFFFFF#000000##FFFFFF
##3D1A671.0013.621.5413.62
#FFFFFF13.621.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E69
Deuteranopia (green-blind)
#002D65
Tritanopia (blue-blind)
#332D3E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #3d1a67;
/* rgb */ color: rgb(61, 26, 103);
/* oklch */ color: oklch(31.5% 0.127 299.8);
Tailwind
colors: {
  custom: {
    50: '#775a93',
    500: '#3d1a67',
    950: '#000000',
  },
}
SCSS
$custom: #3d1a67;
$custom-light: #775a93;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1a67",
  "rgb": {
    "r": 61,
    "g": 26,
    "b": 103
  },
  "hsl": {
    "h": 267.273,
    "s": 59.69,
    "l": 25.294
  },
  "oklch": {
    "l": 0.31541,
    "c": 0.12716,
    "h": 299.8
  },
  "luminance": 0.0271
}

Semantic roles & 50–950 ramp

primary
#3D1A67
secondary
#739D40
accent
#E3459B
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09040D
muted
#7B797E

Preview Lab

Preview with #3D1A67

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

Preview Lab → · Contrast checker → · Palette generator →

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