#3D185C#3D185C

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

Color values

HEX#3D185C
RGBrgb(61, 24, 92)
HSLhsl(273, 59%, 23%)
HSVhsv(273, 74%, 36%)
CMYKcmyk(33.7%, 73.9%, 0%, 63.9%)
CIE-LABlab(17.54, 31.94, -33.50)
CIE-LCHlch(17.54, 46.28, 313.63°)
OKLaboklab(30.33% 0.0675 -0.0951)
OKLCHoklch(30.33% 0.117 305.4)
XYZxyz(4.1824, 2.4181, 10.3695)
Luminance0.0242 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D185C #375C18
analogous
#1B185C #3D185C #5C1859
triadic
#3D185C #5C3D18 #185C3D
tetradic
#3D185C #5C1B18 #375C18 #18595C
square
#3D185C #5C1B18 #375C18 #18595C
split-complementary
#3D185C #595C18 #185C1B
monochromatic
#100618 #1D0B2B #3D185C #5D258D #7D31BD

Accessibility & contrast

On white

14.15
#3D185C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D185C
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D185C#FFFFFF#000000##FFFFFF
##3D185C1.0014.151.4814.15
#FFFFFF14.151.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5E
Deuteranopia (green-blind)
#022B5B
Tritanopia (blue-blind)
#372738
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #3d185c;
/* rgb */ color: rgb(61, 24, 92);
/* oklch */ color: oklch(30.3% 0.117 305.4);
Tailwind
colors: {
  custom: {
    50: '#76588b',
    500: '#3d185c',
    950: '#000000',
  },
}
SCSS
$custom: #3d185c;
$custom-light: #76588b;
$custom-dark: #000000;
JSON
{
  "hex": "#3d185c",
  "rgb": {
    "r": 61,
    "g": 24,
    "b": 92
  },
  "hsl": {
    "h": 272.647,
    "s": 58.621,
    "l": 22.745
  },
  "oklch": {
    "l": 0.30326,
    "c": 0.11662,
    "h": 305.4
  },
  "luminance": 0.02418
}

Semantic roles & 50–950 ramp

primary
#3D185C
secondary
#64933D
accent
#E2468D
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3D185C

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

Preview Lab → · Contrast checker → · Palette generator →

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