#3D1764#3D1764

#3D1764 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.9% C 0.128 H 301.8°. Best body text is #FFFFFF at 13.95:1 contrast (WCAG AA passes).

Color values

HEX#3D1764
RGBrgb(61, 23, 100)
HSLhsl(270, 63%, 24%)
HSVhsv(270, 77%, 39%)
CMYKcmyk(39%, 77%, 0%, 60.8%)
CIE-LABlab(18.03, 34.60, -38.01)
CIE-LCHlch(18.03, 51.41, 312.31°)
OKLaboklab(30.88% 0.0672 -0.1084)
OKLCHoklch(30.88% 0.128 301.8)
XYZxyz(4.5306, 2.5250, 12.3028)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1764 #3E6417
analogous
#171864 #3D1764 #641764
triadic
#3D1764 #643D17 #17643D
tetradic
#3D1764 #641718 #3E6417 #176464
square
#3D1764 #641718 #3E6417 #176464
split-complementary
#3D1764 #646417 #186417
monochromatic
#0F0619 #1F0C32 #3D1764 #5B2296 #7A2EC8

Accessibility & contrast

On white

13.95
#3D1764 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#3D1764 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1764
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1764#FFFFFF#000000##FFFFFF
##3D17641.0013.951.5113.95
#FFFFFF13.951.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C66
Deuteranopia (green-blind)
#002C62
Tritanopia (blue-blind)
#352A3C
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #3d1764;
/* rgb */ color: rgb(61, 23, 100);
/* oklch */ color: oklch(30.9% 0.128 301.8);
Tailwind
colors: {
  custom: {
    50: '#775891',
    500: '#3d1764',
    950: '#000000',
  },
}
SCSS
$custom: #3d1764;
$custom-light: #775891;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1764",
  "rgb": {
    "r": 61,
    "g": 23,
    "b": 100
  },
  "hsl": {
    "h": 269.61,
    "s": 62.602,
    "l": 24.118
  },
  "oklch": {
    "l": 0.30883,
    "c": 0.1275,
    "h": 301.8
  },
  "luminance": 0.02525
}

Semantic roles & 50–950 ramp

primary
#3D1764
secondary
#6C9A3C
accent
#E64295
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030D
muted
#7B787D

Preview Lab

Preview with #3D1764

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

Preview Lab → · Contrast checker → · Palette generator →

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