#3D1064#3D1064

#3D1064 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.1% C 0.136 H 303.1°. Best body text is #FFFFFF at 14.42:1 contrast (WCAG AA passes).

Color values

HEX#3D1064
RGBrgb(61, 16, 100)
HSLhsl(272, 72%, 23%)
HSVhsv(272, 84%, 39%)
CMYKcmyk(39%, 84%, 0%, 60.8%)
CIE-LABlab(16.91, 37.82, -39.85)
CIE-LCHlch(16.91, 54.94, 313.51°)
OKLaboklab(30.09% 0.074 -0.1137)
OKLCHoklch(30.09% 0.136 303.1)
XYZxyz(4.4095, 2.2828, 12.2624)
Luminance0.0228 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1064 #376410
analogous
#131064 #3D1064 #641061
triadic
#3D1064 #643D10 #10643D
tetradic
#3D1064 #641310 #376410 #106164
square
#3D1064 #641310 #376410 #106164
split-complementary
#3D1064 #616410 #106413
monochromatic
#10041A #1D082F #3D1064 #5D1899 #7D21CE

Accessibility & contrast

On white

14.42
#3D1064 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#3D1064 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1064
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1064#FFFFFF#000000##FFFFFF
##3D10641.0014.421.4614.42
#FFFFFF14.421.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002966
Deuteranopia (green-blind)
#002962
Tritanopia (blue-blind)
#35273A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #3d1064;
/* rgb */ color: rgb(61, 16, 100);
/* oklch */ color: oklch(30.1% 0.136 303.1);
Tailwind
colors: {
  custom: {
    50: '#775491',
    500: '#3d1064',
    950: '#000000',
  },
}
SCSS
$custom: #3d1064;
$custom-light: #775491;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1064",
  "rgb": {
    "r": 61,
    "g": 16,
    "b": 100
  },
  "hsl": {
    "h": 272.143,
    "s": 72.414,
    "l": 22.745
  },
  "oklch": {
    "l": 0.30093,
    "c": 0.13566,
    "h": 303.1
  },
  "luminance": 0.02283
}

Semantic roles & 50–950 ramp

primary
#3D1064
secondary
#649D33
accent
#EF398D
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3D1064

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

Preview Lab → · Contrast checker → · Palette generator →

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