#3D1A64#3D1A64

#3D1A64 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.3% C 0.123 H 301.1°. Best body text is #FFFFFF at 13.72:1 contrast (WCAG AA passes).

Color values

HEX#3D1A64
RGBrgb(61, 26, 100)
HSLhsl(268, 59%, 25%)
HSVhsv(268, 74%, 39%)
CMYKcmyk(39%, 74%, 0%, 60.8%)
CIE-LABlab(18.59, 33.04, -37.11)
CIE-LCHlch(18.59, 49.69, 311.68°)
OKLaboklab(31.28% 0.0638 -0.1057)
OKLCHoklch(31.28% 0.124 301.1)
XYZxyz(4.5936, 2.6510, 12.3238)
Luminance0.0265 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1A64 #41641A
analogous
#1A1C64 #3D1A64 #621A64
triadic
#3D1A64 #643D1A #1A643D
tetradic
#3D1A64 #641A1C #41641A #1A6462
square
#3D1A64 #641A1C #41641A #1A6462
split-complementary
#3D1A64 #64621A #1C641A
monochromatic
#0F0618 #1F0D33 #3D1A64 #5B2795 #7833C5

Accessibility & contrast

On white

13.72
#3D1A64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#3D1A64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1A64
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1A64#FFFFFF#000000##FFFFFF
##3D1A641.0013.721.5313.72
#FFFFFF13.721.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D66
Deuteranopia (green-blind)
#002D62
Tritanopia (blue-blind)
#352C3D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #3d1a64;
/* rgb */ color: rgb(61, 26, 100);
/* oklch */ color: oklch(31.3% 0.123 301.1);
Tailwind
colors: {
  custom: {
    50: '#765a91',
    500: '#3d1a64',
    950: '#000000',
  },
}
SCSS
$custom: #3d1a64;
$custom-light: #765a91;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1a64",
  "rgb": {
    "r": 61,
    "g": 26,
    "b": 100
  },
  "hsl": {
    "h": 268.378,
    "s": 58.73,
    "l": 24.706
  },
  "oklch": {
    "l": 0.31279,
    "c": 0.1235,
    "h": 301.1
  },
  "luminance": 0.02651
}

Semantic roles & 50–950 ramp

primary
#3D1A64
secondary
#6F9A40
accent
#E24698
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09040D
muted
#7B797D

Preview Lab

Preview with #3D1A64

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

Preview Lab → · Contrast checker → · Palette generator →

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