#3D1963#3D1963

#3D1963 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.1% C 0.124 H 301.8°. Best body text is #FFFFFF at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#3D1963
RGBrgb(61, 25, 99)
HSLhsl(269, 60%, 24%)
HSVhsv(269, 75%, 39%)
CMYKcmyk(38.4%, 74.7%, 0%, 61.2%)
CIE-LABlab(18.31, 33.30, -36.90)
CIE-LCHlch(18.31, 49.70, 312.06°)
OKLaboklab(31.06% 0.0651 -0.1051)
OKLCHoklch(31.06% 0.124 301.8)
XYZxyz(4.5237, 2.5882, 12.0632)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1963 #3F6319
analogous
#191A63 #3D1963 #621963
triadic
#3D1963 #633D19 #19633D
tetradic
#3D1963 #63191A #3F6319 #196362
square
#3D1963 #63191A #3F6319 #196362
split-complementary
#3D1963 #636219 #1A6319
monochromatic
#0F0618 #1F0D32 #3D1963 #5B2594 #7932C5

Accessibility & contrast

On white

13.84
#3D1963 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#3D1963 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1963
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1963#FFFFFF#000000##FFFFFF
##3D19631.0013.841.5213.84
#FFFFFF13.841.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C65
Deuteranopia (green-blind)
#002C61
Tritanopia (blue-blind)
#352B3C
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #3d1963;
/* rgb */ color: rgb(61, 25, 99);
/* oklch */ color: oklch(31.1% 0.124 301.8);
Tailwind
colors: {
  custom: {
    50: '#765990',
    500: '#3d1963',
    950: '#000000',
  },
}
SCSS
$custom: #3d1963;
$custom-light: #765990;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1963",
  "rgb": {
    "r": 61,
    "g": 25,
    "b": 99
  },
  "hsl": {
    "h": 269.189,
    "s": 59.677,
    "l": 24.314
  },
  "oklch": {
    "l": 0.31056,
    "c": 0.12366,
    "h": 301.8
  },
  "luminance": 0.02588
}

Semantic roles & 50–950 ramp

primary
#3D1963
secondary
#6D993F
accent
#E34596
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09040C
muted
#7B797D

Preview Lab

Preview with #3D1963

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

Preview Lab → · Contrast checker → · Palette generator →

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