#3D1B68#3D1B68

#3D1B68 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 31.8% C 0.127 H 299.2°. Best body text is #FFFFFF at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#3D1B68
RGBrgb(61, 27, 104)
HSLhsl(266, 59%, 26%)
HSVhsv(266, 74%, 41%)
CMYKcmyk(41.3%, 74%, 0%, 59.2%)
CIE-LABlab(19.12, 33.62, -38.87)
CIE-LCHlch(19.12, 51.39, 310.86°)
OKLaboklab(31.77% 0.0619 -0.1109)
OKLCHoklch(31.77% 0.127 299.2)
XYZxyz(4.8145, 2.7754, 13.3761)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1B68 #46681B
analogous
#1B1F68 #3D1B68 #631B68
triadic
#3D1B68 #683D1B #1B683D
tetradic
#3D1B68 #681B1F #46681B #1B6863
square
#3D1B68 #681B1F #46681B #1B6863
split-complementary
#3D1B68 #68631B #1F681B
monochromatic
#0E0618 #210E37 #3D1B68 #592899 #7634C9

Accessibility & contrast

On white

13.50
#3D1B68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#3D1B68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1B68
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1B68#FFFFFF#000000##FFFFFF
##3D1B681.0013.501.5613.50
#FFFFFF13.501.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6A
Deuteranopia (green-blind)
#002E66
Tritanopia (blue-blind)
#332E3F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #3d1b68;
/* rgb */ color: rgb(61, 27, 104);
/* oklch */ color: oklch(31.8% 0.127 299.2);
Tailwind
colors: {
  custom: {
    50: '#775a94',
    500: '#3d1b68',
    950: '#000000',
  },
}
SCSS
$custom: #3d1b68;
$custom-light: #775a94;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1b68",
  "rgb": {
    "r": 61,
    "g": 27,
    "b": 104
  },
  "hsl": {
    "h": 266.494,
    "s": 58.779,
    "l": 25.686
  },
  "oklch": {
    "l": 0.31765,
    "c": 0.12704,
    "h": 299.2
  },
  "luminance": 0.02775
}

Semantic roles & 50–950 ramp

primary
#3D1B68
secondary
#759D42
accent
#E2469D
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09040D
muted
#7B797E

Preview Lab

Preview with #3D1B68

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

Preview Lab → · Contrast checker → · Palette generator →

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