#3C1475#3C1475

#3C1475 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 32.0% C 0.150 H 295.0°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#3C1475
RGBrgb(60, 20, 117)
HSLhsl(265, 71%, 27%)
HSVhsv(265, 83%, 46%)
CMYKcmyk(48.7%, 82.9%, 0%, 54.1%)
CIE-LABlab(18.99, 40.47, -47.52)
CIE-LCHlch(18.99, 62.42, 310.42°)
OKLaboklab(32.02% 0.0635 -0.1363)
OKLCHoklch(32.02% 0.15 295)
XYZxyz(5.3236, 2.7452, 17.0756)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1475 #4D7514
analogous
#141D75 #3C1475 #6D1475
triadic
#3C1475 #753C14 #14753C
tetradic
#3C1475 #75141D #4D7514 #14756D
square
#3C1475 #75141D #4D7514 #14756D
split-complementary
#3C1475 #756D14 #1D7514
monochromatic
#0D041A #210B41 #3C1475 #571DA9 #7229DA

Accessibility & contrast

On white

13.56
#3C1475 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#3C1475 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1475
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1475#FFFFFF#000000##FFFFFF
##3C14751.0013.561.5513.56
#FFFFFF13.561.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F78
Deuteranopia (green-blind)
#002D73
Tritanopia (blue-blind)
#2B3045
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #3c1475;
/* rgb */ color: rgb(60, 20, 117);
/* oklch */ color: oklch(32.0% 0.150 295.0);
Tailwind
colors: {
  custom: {
    50: '#79579e',
    500: '#3c1475',
    950: '#000000',
  },
}
SCSS
$custom: #3c1475;
$custom-light: #79579e;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1475",
  "rgb": {
    "r": 60,
    "g": 20,
    "b": 117
  },
  "hsl": {
    "h": 264.742,
    "s": 70.803,
    "l": 26.863
  },
  "oklch": {
    "l": 0.32018,
    "c": 0.15036,
    "h": 295
  },
  "luminance": 0.02745
}

Semantic roles & 50–950 ramp

primary
#3C1475
secondary
#7CAB3A
accent
#EE3AA4
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030E
muted
#7C787E

Preview Lab

Preview with #3C1475

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

Preview Lab → · Contrast checker → · Palette generator →

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