#3C115E#3C115E

#3C115E is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.5% C 0.128 H 304.9°. Best body text is #FFFFFF at 14.64:1 contrast (WCAG AA passes).

Color values

HEX#3C115E
RGBrgb(60, 17, 94)
HSLhsl(274, 69%, 22%)
HSVhsv(274, 82%, 37%)
CMYKcmyk(36.2%, 81.9%, 0%, 63.1%)
CIE-LABlab(16.35, 35.67, -36.77)
CIE-LCHlch(16.35, 51.23, 314.13°)
OKLaboklab(29.5% 0.0732 -0.1047)
OKLCHoklch(29.5% 0.128 304.9)
XYZxyz(4.0839, 2.1697, 10.7912)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C115E #335E11
analogous
#15115E #3C115E #5E115A
triadic
#3C115E #5E3C11 #115E3C
tetradic
#3C115E #5E1511 #335E11 #115A5E
square
#3C115E #5E1511 #335E11 #115A5E
split-complementary
#3C115E #5A5E11 #115E15
monochromatic
#11051A #1B082A #3C115E #5D1A92 #7E24C6

Accessibility & contrast

On white

14.64
#3C115E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#3C115E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C115E
14.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C115E#FFFFFF#000000##FFFFFF
##3C115E1.0014.641.4314.64
#FFFFFF14.641.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002760
Deuteranopia (green-blind)
#00295C
Tritanopia (blue-blind)
#362537
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #3c115e;
/* rgb */ color: rgb(60, 17, 94);
/* oklch */ color: oklch(29.5% 0.128 304.9);
Tailwind
colors: {
  custom: {
    50: '#76548c',
    500: '#3c115e',
    950: '#000000',
  },
}
SCSS
$custom: #3c115e;
$custom-light: #76548c;
$custom-dark: #000000;
JSON
{
  "hex": "#3c115e",
  "rgb": {
    "r": 60,
    "g": 17,
    "b": 94
  },
  "hsl": {
    "h": 273.506,
    "s": 69.369,
    "l": 21.765
  },
  "oklch": {
    "l": 0.29504,
    "c": 0.12776,
    "h": 304.9
  },
  "luminance": 0.0217
}

Semantic roles & 50–950 ramp

primary
#3C115E
secondary
#609734
accent
#EC3C8A
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3C115E

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

Preview Lab → · Contrast checker → · Palette generator →

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