#3D1960#3D1960

#3D1960 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.8% C 0.120 H 303.2°. Best body text is #FFFFFF at 13.94:1 contrast (WCAG AA passes).

Color values

HEX#3D1960
RGBrgb(61, 25, 96)
HSLhsl(270, 59%, 24%)
HSVhsv(270, 74%, 38%)
CMYKcmyk(36.5%, 74%, 0%, 62.4%)
CIE-LABlab(18.06, 32.48, -35.32)
CIE-LCHlch(18.06, 47.98, 312.60°)
OKLaboklab(30.8% 0.0657 -0.1005)
OKLCHoklch(30.8% 0.12 303.2)
XYZxyz(4.3829, 2.5319, 11.3219)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1960 #3C6019
analogous
#191960 #3D1960 #60195F
triadic
#3D1960 #603D19 #19603D
tetradic
#3D1960 #601919 #3C6019 #195F60
square
#3D1960 #601919 #3C6019 #195F60
split-complementary
#3D1960 #5F6019 #196019
monochromatic
#0F0618 #1E0C2F #3D1960 #5C2691 #7B32C1

Accessibility & contrast

On white

13.94
#3D1960 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D1960
13.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1960#FFFFFF#000000##FFFFFF
##3D19601.0013.941.5113.94
#FFFFFF13.941.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B62
Deuteranopia (green-blind)
#002C5F
Tritanopia (blue-blind)
#36293A
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #3d1960;
/* rgb */ color: rgb(61, 25, 96);
/* oklch */ color: oklch(30.8% 0.120 303.2);
Tailwind
colors: {
  custom: {
    50: '#76598e',
    500: '#3d1960',
    950: '#000000',
  },
}
SCSS
$custom: #3d1960;
$custom-light: #76598e;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1960",
  "rgb": {
    "r": 61,
    "g": 25,
    "b": 96
  },
  "hsl": {
    "h": 270.423,
    "s": 58.678,
    "l": 23.725
  },
  "oklch": {
    "l": 0.30799,
    "c": 0.12002,
    "h": 303.2
  },
  "luminance": 0.02532
}

Semantic roles & 50–950 ramp

primary
#3D1960
secondary
#6A963F
accent
#E24693
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09040C
muted
#7B797D

Preview Lab

Preview with #3D1960

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

Preview Lab → · Contrast checker → · Palette generator →

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