#3D1355#3D1355

#3D1355 is a dark, moderate violet. Relative luminance 0.021; OKLCH L 29.1% C 0.116 H 310.2°. Best body text is #FFFFFF at 14.76:1 contrast (WCAG AA passes).

Color values

HEX#3D1355
RGBrgb(61, 19, 85)
HSLhsl(278, 63%, 20%)
HSVhsv(278, 78%, 33%)
CMYKcmyk(28.2%, 77.6%, 0%, 66.7%)
CIE-LABlab(16.07, 32.67, -31.17)
CIE-LCHlch(16.07, 45.16, 316.34°)
OKLaboklab(29.1% 0.0745 -0.0882)
OKLCHoklch(29.1% 0.116 310.2)
XYZxyz(3.7967, 2.1138, 8.8006)
Luminance0.0211 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1355 #2B5513
analogous
#1C1355 #3D1355 #55134C
triadic
#3D1355 #553D13 #13553D
tetradic
#3D1355 #551C13 #2B5513 #134C55
square
#3D1355 #551C13 #2B5513 #134C55
split-complementary
#3D1355 #4C5513 #13551C
monochromatic
#120619 #190823 #3D1355 #611E87 #8529B9

Accessibility & contrast

On white

14.76
#3D1355 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#3D1355 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1355
14.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1355#FFFFFF#000000##FFFFFF
##3D13551.0014.761.4214.76
#FFFFFF14.761.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002657
Deuteranopia (green-blind)
#072954
Tritanopia (blue-blind)
#3A2232
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #3d1355;
/* rgb */ color: rgb(61, 19, 85);
/* oklch */ color: oklch(29.1% 0.116 310.2);
Tailwind
colors: {
  custom: {
    50: '#755585',
    500: '#3d1355',
    950: '#000000',
  },
}
SCSS
$custom: #3d1355;
$custom-light: #755585;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1355",
  "rgb": {
    "r": 61,
    "g": 19,
    "b": 85
  },
  "hsl": {
    "h": 278.182,
    "s": 63.462,
    "l": 20.392
  },
  "oklch": {
    "l": 0.29099,
    "c": 0.1155,
    "h": 310.2
  },
  "luminance": 0.02114
}

Semantic roles & 50–950 ramp

primary
#3D1355
secondary
#568D36
accent
#E6417D
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3D1355

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

Preview Lab → · Contrast checker → · Palette generator →

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