#3D1455#3D1455

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

Color values

HEX#3D1455
RGBrgb(61, 20, 85)
HSLhsl(278, 62%, 21%)
HSVhsv(278, 76%, 33%)
CMYKcmyk(28.2%, 76.5%, 0%, 66.7%)
CIE-LABlab(16.25, 32.18, -30.89)
CIE-LCHlch(16.25, 44.61, 316.17°)
OKLaboklab(29.22% 0.0734 -0.0874)
OKLCHoklch(29.22% 0.114 310)
XYZxyz(3.8140, 2.1484, 8.8063)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1455 #2C5514
analogous
#1C1455 #3D1455 #55144C
triadic
#3D1455 #553D14 #14553D
tetradic
#3D1455 #551C14 #2C5514 #144C55
square
#3D1455 #551C14 #2C5514 #144C55
split-complementary
#3D1455 #4C5514 #14551C
monochromatic
#120619 #190823 #3D1455 #612087 #842BB8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3D1455#FFFFFF#000000##FFFFFF
##3D14551.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)
#002757
Deuteranopia (green-blind)
#082954
Tritanopia (blue-blind)
#3A2233
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #3d1455;
/* rgb */ color: rgb(61, 20, 85);
/* oklch */ color: oklch(29.2% 0.114 310.0);
Tailwind
colors: {
  custom: {
    50: '#755685',
    500: '#3d1455',
    950: '#000000',
  },
}
SCSS
$custom: #3d1455;
$custom-light: #755685;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1455",
  "rgb": {
    "r": 61,
    "g": 20,
    "b": 85
  },
  "hsl": {
    "h": 277.846,
    "s": 61.905,
    "l": 20.588
  },
  "oklch": {
    "l": 0.29223,
    "c": 0.11412,
    "h": 310
  },
  "luminance": 0.02148
}

Semantic roles & 50–950 ramp

primary
#3D1455
secondary
#578D38
accent
#E5437F
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3D1455

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

Preview Lab → · Contrast checker → · Palette generator →

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