#3D1375#3D1375

#3D1375 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 32.0% C 0.151 H 295.8°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#3D1375
RGBrgb(61, 19, 117)
HSLhsl(266, 72%, 27%)
HSVhsv(266, 84%, 46%)
CMYKcmyk(47.9%, 83.8%, 0%, 54.1%)
CIE-LABlab(18.98, 41.05, -47.54)
CIE-LCHlch(18.98, 62.81, 310.81°)
OKLaboklab(32.04% 0.0659 -0.1363)
OKLCHoklch(32.04% 0.151 295.8)
XYZxyz(5.3674, 2.7421, 17.0726)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1375 #4B7513
analogous
#131A75 #3D1375 #6E1375
triadic
#3D1375 #753D13 #13753D
tetradic
#3D1375 #75131A #4B7513 #13756E
square
#3D1375 #75131A #4B7513 #13756E
split-complementary
#3D1375 #756E13 #1A7513
monochromatic
#0E041A #220A40 #3D1375 #581CAA #7427DC

Accessibility & contrast

On white

13.56
#3D1375 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#3D1375 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1375
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1375#FFFFFF#000000##FFFFFF
##3D13751.0013.561.5513.56
#FFFFFF13.561.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F78
Deuteranopia (green-blind)
#002D73
Tritanopia (blue-blind)
#2D2F45
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #3d1375;
/* rgb */ color: rgb(61, 19, 117);
/* oklch */ color: oklch(32.0% 0.151 295.8);
Tailwind
colors: {
  custom: {
    50: '#79579e',
    500: '#3d1375',
    950: '#000000',
  },
}
SCSS
$custom: #3d1375;
$custom-light: #79579e;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1375",
  "rgb": {
    "r": 61,
    "g": 19,
    "b": 117
  },
  "hsl": {
    "h": 265.714,
    "s": 72.059,
    "l": 26.667
  },
  "oklch": {
    "l": 0.32038,
    "c": 0.1514,
    "h": 295.8
  },
  "luminance": 0.02742
}

Semantic roles & 50–950 ramp

primary
#3D1375
secondary
#7AAB38
accent
#EF39A1
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030E
muted
#7C787E

Preview Lab

Preview with #3D1375

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

Preview Lab → · Contrast checker → · Palette generator →

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