#3D1357#3D1357

#3D1357 is a dark, moderate violet. Relative luminance 0.021; OKLCH L 29.3% C 0.118 H 309.1°. Best body text is #FFFFFF at 14.69:1 contrast (WCAG AA passes).

Color values

HEX#3D1357
RGBrgb(61, 19, 87)
HSLhsl(277, 64%, 21%)
HSVhsv(277, 78%, 34%)
CMYKcmyk(29.9%, 78.2%, 0%, 65.9%)
CIE-LABlab(16.24, 33.17, -32.26)
CIE-LCHlch(16.24, 46.28, 315.80°)
OKLaboklab(29.27% 0.0742 -0.0914)
OKLCHoklch(29.27% 0.118 309.1)
XYZxyz(3.8773, 2.1460, 9.2249)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1357 #2D5713
analogous
#1B1357 #3D1357 #57134F
triadic
#3D1357 #573D13 #13573D
tetradic
#3D1357 #571B13 #2D5713 #134F57
square
#3D1357 #571B13 #2D5713 #134F57
split-complementary
#3D1357 #4F5713 #13571B
monochromatic
#120519 #1A0825 #3D1357 #601E89 #8329BB

Accessibility & contrast

On white

14.69
#3D1357 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#3D1357 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1357
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1357#FFFFFF#000000##FFFFFF
##3D13571.0014.691.4314.69
#FFFFFF14.691.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002759
Deuteranopia (green-blind)
#032956
Tritanopia (blue-blind)
#392333
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #3d1357;
/* rgb */ color: rgb(61, 19, 87);
/* oklch */ color: oklch(29.3% 0.118 309.1);
Tailwind
colors: {
  custom: {
    50: '#765587',
    500: '#3d1357',
    950: '#000000',
  },
}
SCSS
$custom: #3d1357;
$custom-light: #765587;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1357",
  "rgb": {
    "r": 61,
    "g": 19,
    "b": 87
  },
  "hsl": {
    "h": 277.059,
    "s": 64.151,
    "l": 20.784
  },
  "oklch": {
    "l": 0.29266,
    "c": 0.11775,
    "h": 309.1
  },
  "luminance": 0.02146
}

Semantic roles & 50–950 ramp

primary
#3D1357
secondary
#588F36
accent
#E74180
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3D1357

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

Preview Lab → · Contrast checker → · Palette generator →

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