#3C115F#3C115F

#3C115F is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.6% C 0.129 H 304.5°. Best body text is #FFFFFF at 14.61:1 contrast (WCAG AA passes).

Color values

HEX#3C115F
RGBrgb(60, 17, 95)
HSLhsl(273, 70%, 22%)
HSVhsv(273, 82%, 37%)
CMYKcmyk(36.8%, 82.1%, 0%, 62.7%)
CIE-LABlab(16.44, 35.93, -37.29)
CIE-LCHlch(16.44, 51.78, 313.93°)
OKLaboklab(29.59% 0.0729 -0.1062)
OKLCHoklch(29.59% 0.129 304.5)
XYZxyz(4.1290, 2.1878, 11.0290)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C115F #345F11
analogous
#15115F #3C115F #5F115B
triadic
#3C115F #5F3C11 #115F3C
tetradic
#3C115F #5F1511 #345F11 #115B5F
square
#3C115F #5F1511 #345F11 #115B5F
split-complementary
#3C115F #5B5F11 #115F15
monochromatic
#10051A #1B082B #3C115F #5D1A93 #7E24C7

Accessibility & contrast

On white

14.61
#3C115F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#3C115F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C115F
14.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C115F#FFFFFF#000000##FFFFFF
##3C115F1.0014.611.4414.61
#FFFFFF14.611.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002861
Deuteranopia (green-blind)
#00295D
Tritanopia (blue-blind)
#352537
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #3c115f;
/* rgb */ color: rgb(60, 17, 95);
/* oklch */ color: oklch(29.6% 0.129 304.5);
Tailwind
colors: {
  custom: {
    50: '#76548d',
    500: '#3c115f',
    950: '#000000',
  },
}
SCSS
$custom: #3c115f;
$custom-light: #76548d;
$custom-dark: #000000;
JSON
{
  "hex": "#3c115f",
  "rgb": {
    "r": 60,
    "g": 17,
    "b": 95
  },
  "hsl": {
    "h": 273.077,
    "s": 69.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.29594,
    "c": 0.12887,
    "h": 304.5
  },
  "luminance": 0.02188
}

Semantic roles & 50–950 ramp

primary
#3C115F
secondary
#619834
accent
#EC3B8B
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3C115F

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

Preview Lab → · Contrast checker → · Palette generator →

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