#3C185D#3C185D

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

Color values

HEX#3C185D
RGBrgb(60, 24, 93)
HSLhsl(271, 59%, 23%)
HSVhsv(271, 74%, 36%)
CMYKcmyk(35.5%, 74.2%, 0%, 63.5%)
CIE-LABlab(17.48, 31.97, -34.28)
CIE-LCHlch(17.48, 46.87, 313.01°)
OKLaboklab(30.27% 0.0658 -0.0974)
OKLCHoklch(30.27% 0.118 304)
XYZxyz(4.1654, 2.4043, 10.5984)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C185D #395D18
analogous
#19185D #3C185D #5D185B
triadic
#3C185D #5D3C18 #185D3C
tetradic
#3C185D #5D1918 #395D18 #185B5D
square
#3C185D #5D1918 #395D18 #185B5D
split-complementary
#3C185D #5B5D18 #185D19
monochromatic
#100618 #1D0B2C #3C185D #5B258E #7B31BE

Accessibility & contrast

On white

14.18
#3C185D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C185D
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C185D#FFFFFF#000000##FFFFFF
##3C185D1.0014.181.4814.18
#FFFFFF14.181.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3c185d;
/* rgb */ color: rgb(60, 24, 93);
/* oklch */ color: oklch(30.3% 0.118 304.0);
Tailwind
colors: {
  custom: {
    50: '#75588b',
    500: '#3c185d',
    950: '#000000',
  },
}
SCSS
$custom: #3c185d;
$custom-light: #75588b;
$custom-dark: #000000;
JSON
{
  "hex": "#3c185d",
  "rgb": {
    "r": 60,
    "g": 24,
    "b": 93
  },
  "hsl": {
    "h": 271.304,
    "s": 58.974,
    "l": 22.941
  },
  "oklch": {
    "l": 0.30274,
    "c": 0.11757,
    "h": 304
  },
  "luminance": 0.02404
}

Semantic roles & 50–950 ramp

primary
#3C185D
secondary
#67933D
accent
#E24690
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3C185D

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

Preview Lab → · Contrast checker → · Palette generator →

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