#3D1964#3D1964

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

Color values

HEX#3D1964
RGBrgb(61, 25, 100)
HSLhsl(269, 60%, 25%)
HSVhsv(269, 75%, 39%)
CMYKcmyk(39%, 75%, 0%, 60.8%)
CIE-LABlab(18.40, 33.57, -37.42)
CIE-LCHlch(18.40, 50.27, 311.90°)
OKLaboklab(31.14% 0.0649 -0.1066)
OKLCHoklch(31.14% 0.125 301.3)
XYZxyz(4.5718, 2.6074, 12.3165)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1964 #406419
analogous
#191B64 #3D1964 #631964
triadic
#3D1964 #643D19 #19643D
tetradic
#3D1964 #64191B #406419 #196463
square
#3D1964 #64191B #406419 #196463
split-complementary
#3D1964 #646319 #1B6419
monochromatic
#0F0618 #1F0D33 #3D1964 #5B2595 #7931C6

Accessibility & contrast

On white

13.80
#3D1964 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D1964
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1964#FFFFFF#000000##FFFFFF
##3D19641.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3d1964;
/* rgb */ color: rgb(61, 25, 100);
/* oklch */ color: oklch(31.1% 0.125 301.3);
Tailwind
colors: {
  custom: {
    50: '#775991',
    500: '#3d1964',
    950: '#000000',
  },
}
SCSS
$custom: #3d1964;
$custom-light: #775991;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1964",
  "rgb": {
    "r": 61,
    "g": 25,
    "b": 100
  },
  "hsl": {
    "h": 268.8,
    "s": 60,
    "l": 24.51
  },
  "oklch": {
    "l": 0.31143,
    "c": 0.12486,
    "h": 301.3
  },
  "luminance": 0.02607
}

Semantic roles & 50–950 ramp

primary
#3D1964
secondary
#6E9A3F
accent
#E34597
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09040D
muted
#7B797D

Preview Lab

Preview with #3D1964

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

Preview Lab → · Contrast checker → · Palette generator →

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