#3D175D#3D175D

#3D175D is a dark, moderate violet. Relative luminance 0.024; OKLCH L 30.3% C 0.119 H 305.1°. Best body text is #FFFFFF at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#3D175D
RGBrgb(61, 23, 93)
HSLhsl(273, 60%, 23%)
HSVhsv(273, 75%, 36%)
CMYKcmyk(34.4%, 75.3%, 0%, 63.5%)
CIE-LABlab(17.44, 32.73, -34.34)
CIE-LCHlch(17.44, 47.44, 313.62°)
OKLaboklab(30.28% 0.0685 -0.0976)
OKLCHoklch(30.28% 0.119 305.1)
XYZxyz(4.2062, 2.3952, 10.5945)
Luminance0.0239 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D175D #375D17
analogous
#1A175D #3D175D #5D175A
triadic
#3D175D #5D3D17 #175D3D
tetradic
#3D175D #5D1A17 #375D17 #175A5D
square
#3D175D #5D1A17 #375D17 #175A5D
split-complementary
#3D175D #5A5D17 #175D1A
monochromatic
#100619 #1D0B2C #3D175D #5D238E #7D2FBF

Accessibility & contrast

On white

14.20
#3D175D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#3D175D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D175D
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D175D#FFFFFF#000000##FFFFFF
##3D175D1.0014.201.4814.20
#FFFFFF14.201.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5F
Deuteranopia (green-blind)
#002B5C
Tritanopia (blue-blind)
#372738
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #3d175d;
/* rgb */ color: rgb(61, 23, 93);
/* oklch */ color: oklch(30.3% 0.119 305.1);
Tailwind
colors: {
  custom: {
    50: '#76588b',
    500: '#3d175d',
    950: '#000000',
  },
}
SCSS
$custom: #3d175d;
$custom-light: #76588b;
$custom-dark: #000000;
JSON
{
  "hex": "#3d175d",
  "rgb": {
    "r": 61,
    "g": 23,
    "b": 93
  },
  "hsl": {
    "h": 272.571,
    "s": 60.345,
    "l": 22.745
  },
  "oklch": {
    "l": 0.30276,
    "c": 0.11923,
    "h": 305.1
  },
  "luminance": 0.02395
}

Semantic roles & 50–950 ramp

primary
#3D175D
secondary
#64943C
accent
#E3448D
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3D175D

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

Preview Lab → · Contrast checker → · Palette generator →

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