#3D185D#3D185D

#3D185D is a dark, moderate violet. Relative luminance 0.024; OKLCH L 30.4% C 0.118 H 304.9°. Best body text is #FFFFFF at 14.12:1 contrast (WCAG AA passes).

Color values

HEX#3D185D
RGBrgb(61, 24, 93)
HSLhsl(272, 59%, 23%)
HSVhsv(272, 74%, 36%)
CMYKcmyk(34.4%, 74.2%, 0%, 63.5%)
CIE-LABlab(17.63, 32.20, -34.03)
CIE-LCHlch(17.63, 46.85, 313.42°)
OKLaboklab(30.41% 0.0673 -0.0967)
OKLCHoklch(30.41% 0.118 304.9)
XYZxyz(4.2264, 2.4357, 10.6013)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D185D #385D18
analogous
#1B185D #3D185D #5D185A
triadic
#3D185D #5D3D18 #185D3D
tetradic
#3D185D #5D1B18 #385D18 #185A5D
square
#3D185D #5D1B18 #385D18 #185A5D
split-complementary
#3D185D #5A5D18 #185D1B
monochromatic
#100618 #1D0B2C #3D185D #5D258E #7D31BE

Accessibility & contrast

On white

14.12
#3D185D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#3D185D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D185D
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D185D#FFFFFF#000000##FFFFFF
##3D185D1.0014.121.4914.12
#FFFFFF14.121.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3d185d;
/* rgb */ color: rgb(61, 24, 93);
/* oklch */ color: oklch(30.4% 0.118 304.9);
Tailwind
colors: {
  custom: {
    50: '#76588b',
    500: '#3d185d',
    950: '#000000',
  },
}
SCSS
$custom: #3d185d;
$custom-light: #76588b;
$custom-dark: #000000;
JSON
{
  "hex": "#3d185d",
  "rgb": {
    "r": 61,
    "g": 24,
    "b": 93
  },
  "hsl": {
    "h": 272.174,
    "s": 58.974,
    "l": 22.941
  },
  "oklch": {
    "l": 0.30409,
    "c": 0.11783,
    "h": 304.9
  },
  "luminance": 0.02436
}

Semantic roles & 50–950 ramp

primary
#3D185D
secondary
#65933D
accent
#E2468E
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3D185D

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

Preview Lab → · Contrast checker → · Palette generator →

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