#3D1061#3D1061

#3D1061 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.8% C 0.132 H 304.4°. Best body text is #FFFFFF at 14.53:1 contrast (WCAG AA passes).

Color values

HEX#3D1061
RGBrgb(61, 16, 97)
HSLhsl(273, 72%, 22%)
HSVhsv(273, 84%, 38%)
CMYKcmyk(37.1%, 83.5%, 0%, 62%)
CIE-LABlab(16.63, 37.06, -38.31)
CIE-LCHlch(16.63, 53.30, 314.04°)
OKLaboklab(29.81% 0.0749 -0.1092)
OKLCHoklch(29.81% 0.132 304.4)
XYZxyz(4.2669, 2.2258, 11.5118)
Luminance0.0223 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1061 #346110
analogous
#141061 #3D1061 #61105D
triadic
#3D1061 #613D10 #10613D
tetradic
#3D1061 #611410 #346110 #105D61
square
#3D1061 #611410 #346110 #105D61
split-complementary
#3D1061 #5D6110 #106114
monochromatic
#11041A #1C072C #3D1061 #5E1996 #7F21CA

Accessibility & contrast

On white

14.53
#3D1061 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#3D1061 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1061
14.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1061#FFFFFF#000000##FFFFFF
##3D10611.0014.531.4514.53
#FFFFFF14.531.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002863
Deuteranopia (green-blind)
#00295F
Tritanopia (blue-blind)
#362538
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #3d1061;
/* rgb */ color: rgb(61, 16, 97);
/* oklch */ color: oklch(29.8% 0.132 304.4);
Tailwind
colors: {
  custom: {
    50: '#77548f',
    500: '#3d1061',
    950: '#000000',
  },
}
SCSS
$custom: #3d1061;
$custom-light: #77548f;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1061",
  "rgb": {
    "r": 61,
    "g": 16,
    "b": 97
  },
  "hsl": {
    "h": 273.333,
    "s": 71.681,
    "l": 22.157
  },
  "oklch": {
    "l": 0.29814,
    "c": 0.13241,
    "h": 304.4
  },
  "luminance": 0.02226
}

Semantic roles & 50–950 ramp

primary
#3D1061
secondary
#619A33
accent
#EE398A
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3D1061

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

Preview Lab → · Contrast checker → · Palette generator →

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