#3C1175#3C1175

#3C1175 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.7% C 0.153 H 295.4°. Best body text is #FFFFFF at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#3C1175
RGBrgb(60, 17, 117)
HSLhsl(266, 75%, 26%)
HSVhsv(266, 85%, 46%)
CMYKcmyk(48.7%, 85.5%, 0%, 54.1%)
CIE-LABlab(18.57, 41.72, -48.22)
CIE-LCHlch(18.57, 63.76, 310.86°)
OKLaboklab(31.72% 0.0657 -0.1383)
OKLCHoklch(31.72% 0.153 295.4)
XYZxyz(5.2739, 2.6458, 17.0590)
Luminance0.0265 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1175 #4A7511
analogous
#111875 #3C1175 #6E1175
triadic
#3C1175 #753C11 #11753C
tetradic
#3C1175 #751118 #4A7511 #11756E
square
#3C1175 #751118 #4A7511 #11756E
split-complementary
#3C1175 #756E11 #187511
monochromatic
#0E041B #210940 #3C1175 #5719AA #7322DF

Accessibility & contrast

On white

13.73
#3C1175 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#3C1175 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1175
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1175#FFFFFF#000000##FFFFFF
##3C11751.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E78
Deuteranopia (green-blind)
#002C73
Tritanopia (blue-blind)
#2B2F44
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #3c1175;
/* rgb */ color: rgb(60, 17, 117);
/* oklch */ color: oklch(31.7% 0.153 295.4);
Tailwind
colors: {
  custom: {
    50: '#79569e',
    500: '#3c1175',
    950: '#000000',
  },
}
SCSS
$custom: #3c1175;
$custom-light: #79569e;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1175",
  "rgb": {
    "r": 60,
    "g": 17,
    "b": 117
  },
  "hsl": {
    "h": 265.8,
    "s": 74.627,
    "l": 26.275
  },
  "oklch": {
    "l": 0.31721,
    "c": 0.15315,
    "h": 295.4
  },
  "luminance": 0.02646
}

Semantic roles & 50–950 ramp

primary
#3C1175
secondary
#79AC36
accent
#F137A1
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030E
muted
#7C787E

Preview Lab

Preview with #3C1175

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

Preview Lab → · Contrast checker → · Palette generator →

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