#3D1967#3D1967

#3D1967 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.4% C 0.128 H 300.1°. Best body text is #FFFFFF at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#3D1967
RGBrgb(61, 25, 103)
HSLhsl(268, 61%, 25%)
HSVhsv(268, 76%, 40%)
CMYKcmyk(40.8%, 75.7%, 0%, 59.6%)
CIE-LABlab(18.66, 34.40, -38.97)
CIE-LCHlch(18.66, 51.98, 311.44°)
OKLaboklab(31.41% 0.0643 -0.1112)
OKLCHoklch(31.41% 0.128 300.1)
XYZxyz(4.7197, 2.6666, 13.0954)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1967 #436719
analogous
#191C67 #3D1967 #641967
triadic
#3D1967 #673D19 #19673D
tetradic
#3D1967 #67191C #436719 #196764
square
#3D1967 #67191C #436719 #196764
split-complementary
#3D1967 #676419 #1C6719
monochromatic
#0F0619 #200D36 #3D1967 #5A2598 #7731C9

Accessibility & contrast

On white

13.70
#3D1967 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#3D1967 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1967
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1967#FFFFFF#000000##FFFFFF
##3D19671.0013.701.5313.70
#FFFFFF13.701.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D69
Deuteranopia (green-blind)
#002D65
Tritanopia (blue-blind)
#332C3E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #3d1967;
/* rgb */ color: rgb(61, 25, 103);
/* oklch */ color: oklch(31.4% 0.128 300.1);
Tailwind
colors: {
  custom: {
    50: '#775993',
    500: '#3d1967',
    950: '#000000',
  },
}
SCSS
$custom: #3d1967;
$custom-light: #775993;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1967",
  "rgb": {
    "r": 61,
    "g": 25,
    "b": 103
  },
  "hsl": {
    "h": 267.692,
    "s": 60.938,
    "l": 25.098
  },
  "oklch": {
    "l": 0.31407,
    "c": 0.12847,
    "h": 300.1
  },
  "luminance": 0.02667
}

Semantic roles & 50–950 ramp

primary
#3D1967
secondary
#729D3F
accent
#E4449A
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09040D
muted
#7B797E

Preview Lab

Preview with #3D1967

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

Preview Lab → · Contrast checker → · Palette generator →

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