#3D104F#3D104F

#3D104F is a dark, moderate purple. Relative luminance 0.019; OKLCH L 28.3% C 0.113 H 314.3°. Best body text is #FFFFFF at 15.16:1 contrast (WCAG AA passes).

Color values

HEX#3D104F
RGBrgb(61, 16, 79)
HSLhsl(283, 66%, 19%)
HSVhsv(283, 80%, 31%)
CMYKcmyk(22.8%, 79.7%, 0%, 69%)
CIE-LABlab(15.10, 32.62, -28.66)
CIE-LCHlch(15.10, 43.42, 318.70°)
OKLaboklab(28.26% 0.0789 -0.0808)
OKLCHoklch(28.26% 0.113 314.3)
XYZxyz(3.5208, 1.9273, 7.5822)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D104F #224F10
analogous
#1D104F #3D104F #4F1041
triadic
#3D104F #4F3D10 #104F3D
tetradic
#3D104F #4F1D10 #224F10 #10414F
square
#3D104F #4F1D10 #224F10 #10414F
split-complementary
#3D104F #414F10 #104F1D
monochromatic
#140519 #16061C #3D104F #641A82 #8C25B5

Accessibility & contrast

On white

15.16
#3D104F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#3D104F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D104F
15.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D104F#FFFFFF#000000##FFFFFF
##3D104F1.0015.161.3915.16
#FFFFFF15.161.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002351
Deuteranopia (green-blind)
#0C274E
Tritanopia (blue-blind)
#3B1E2E
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3d104f;
/* rgb */ color: rgb(61, 16, 79);
/* oklch */ color: oklch(28.3% 0.113 314.3);
Tailwind
colors: {
  custom: {
    50: '#755381',
    500: '#3d104f',
    950: '#000000',
  },
}
SCSS
$custom: #3d104f;
$custom-light: #755381;
$custom-dark: #000000;
JSON
{
  "hex": "#3d104f",
  "rgb": {
    "r": 61,
    "g": 16,
    "b": 79
  },
  "hsl": {
    "h": 282.857,
    "s": 66.316,
    "l": 18.627
  },
  "oklch": {
    "l": 0.28257,
    "c": 0.11295,
    "h": 314.3
  },
  "luminance": 0.01927
}

Semantic roles & 50–950 ramp

primary
#3D104F
secondary
#4B8932
accent
#E93F6F
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #3D104F

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

Preview Lab → · Contrast checker → · Palette generator →

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