#3C0F74#3C0F74

#3C0F74 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.4% C 0.154 H 296.0°. Best body text is #FFFFFF at 13.88:1 contrast (WCAG AA passes).

Color values

HEX#3C0F74
RGBrgb(60, 15, 116)
HSLhsl(267, 77%, 26%)
HSVhsv(267, 87%, 45%)
CMYKcmyk(48.3%, 87.1%, 0%, 54.5%)
CIE-LABlab(18.20, 42.22, -48.18)
CIE-LCHlch(18.20, 64.06, 311.23°)
OKLaboklab(31.44% 0.0675 -0.1382)
OKLCHoklch(31.44% 0.154 296)
XYZxyz(5.1858, 2.5631, 16.7411)
Luminance0.0256 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C0F74 #47740F
analogous
#0F1474 #3C0F74 #6E0F74
triadic
#3C0F74 #743C0F #0F743C
tetradic
#3C0F74 #740F14 #47740F #0F746E
square
#3C0F74 #740F14 #47740F #0F746E
split-complementary
#3C0F74 #746E0F #14740F
monochromatic
#0E041B #20083E #3C0F74 #5816AA #741DE0

Accessibility & contrast

On white

13.88
#3C0F74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#3C0F74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C0F74
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C0F74#FFFFFF#000000##FFFFFF
##3C0F741.0013.881.5113.88
#FFFFFF13.881.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D77
Deuteranopia (green-blind)
#002B72
Tritanopia (blue-blind)
#2C2D43
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #3c0f74;
/* rgb */ color: rgb(60, 15, 116);
/* oklch */ color: oklch(31.4% 0.154 296.0);
Tailwind
colors: {
  custom: {
    50: '#79559d',
    500: '#3c0f74',
    950: '#000000',
  },
}
SCSS
$custom: #3c0f74;
$custom-light: #79559d;
$custom-dark: #000000;
JSON
{
  "hex": "#3c0f74",
  "rgb": {
    "r": 60,
    "g": 15,
    "b": 116
  },
  "hsl": {
    "h": 266.733,
    "s": 77.099,
    "l": 25.686
  },
  "oklch": {
    "l": 0.3144,
    "c": 0.15376,
    "h": 296
  },
  "luminance": 0.02563
}

Semantic roles & 50–950 ramp

primary
#3C0F74
secondary
#76AC33
accent
#F4349E
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030E
muted
#7C787E

Preview Lab

Preview with #3C0F74

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

Preview Lab → · Contrast checker → · Palette generator →

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