#3D1475#3D1475

#3D1475 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.1% C 0.150 H 295.7°. Best body text is #FFFFFF at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#3D1475
RGBrgb(61, 20, 117)
HSLhsl(265, 71%, 27%)
HSVhsv(265, 83%, 46%)
CMYKcmyk(47.9%, 82.9%, 0%, 54.1%)
CIE-LABlab(19.13, 40.63, -47.30)
CIE-LCHlch(19.13, 62.35, 310.66°)
OKLaboklab(32.14% 0.0651 -0.1356)
OKLCHoklch(32.14% 0.15 295.7)
XYZxyz(5.3846, 2.7766, 17.0784)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1475 #4C7514
analogous
#141B75 #3D1475 #6E1475
triadic
#3D1475 #753D14 #14753D
tetradic
#3D1475 #75141B #4C7514 #14756E
square
#3D1475 #75141B #4C7514 #14756E
split-complementary
#3D1475 #756E14 #1B7514
monochromatic
#0E041A #220B41 #3D1475 #581DA9 #7429DA

Accessibility & contrast

On white

13.50
#3D1475 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#3D1475 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1475
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1475#FFFFFF#000000##FFFFFF
##3D14751.0013.501.5613.50
#FFFFFF13.501.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3d1475;
/* rgb */ color: rgb(61, 20, 117);
/* oklch */ color: oklch(32.1% 0.150 295.7);
Tailwind
colors: {
  custom: {
    50: '#79579e',
    500: '#3d1475',
    950: '#000000',
  },
}
SCSS
$custom: #3d1475;
$custom-light: #79579e;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1475",
  "rgb": {
    "r": 61,
    "g": 20,
    "b": 117
  },
  "hsl": {
    "h": 265.361,
    "s": 70.803,
    "l": 26.863
  },
  "oklch": {
    "l": 0.3214,
    "c": 0.15043,
    "h": 295.7
  },
  "luminance": 0.02777
}

Semantic roles & 50–950 ramp

primary
#3D1475
secondary
#7BAB3A
accent
#EE3AA2
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030E
muted
#7C787E

Preview Lab

Preview with #3D1475

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

Preview Lab → · Contrast checker → · Palette generator →

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