#3C0D58#3C0D58

#3C0D58 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.6% C 0.126 H 308.7°. Best body text is #FFFFFF at 15.10:1 contrast (WCAG AA passes).

Color values

HEX#3C0D58
RGBrgb(60, 13, 88)
HSLhsl(278, 74%, 20%)
HSVhsv(278, 85%, 35%)
CMYKcmyk(31.8%, 85.2%, 0%, 65.5%)
CIE-LABlab(15.24, 35.84, -34.56)
CIE-LCHlch(15.24, 49.79, 316.04°)
OKLaboklab(28.56% 0.0786 -0.0982)
OKLCHoklch(28.56% 0.126 308.7)
XYZxyz(3.7685, 1.9532, 9.4091)
Luminance0.0195 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C0D58 #29580D
analogous
#170D58 #3C0D58 #580D4F
triadic
#3C0D58 #583C0D #0D583C
tetradic
#3C0D58 #58170D #29580D #0D4F58
square
#3C0D58 #58170D #29580D #0D4F58
split-complementary
#3C0D58 #4F580D #0D5817
monochromatic
#12041B #180523 #3C0D58 #60158D #851DC3

Accessibility & contrast

On white

15.10
#3C0D58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#3C0D58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C0D58
15.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C0D58#FFFFFF#000000##FFFFFF
##3C0D581.0015.101.3915.10
#FFFFFF15.101.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00245A
Deuteranopia (green-blind)
#002757
Tritanopia (blue-blind)
#382033
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3c0d58;
/* rgb */ color: rgb(60, 13, 88);
/* oklch */ color: oklch(28.6% 0.126 308.7);
Tailwind
colors: {
  custom: {
    50: '#755288',
    500: '#3c0d58',
    950: '#000000',
  },
}
SCSS
$custom: #3c0d58;
$custom-light: #755288;
$custom-dark: #000000;
JSON
{
  "hex": "#3c0d58",
  "rgb": {
    "r": 60,
    "g": 13,
    "b": 88
  },
  "hsl": {
    "h": 277.6,
    "s": 74.257,
    "l": 19.804
  },
  "oklch": {
    "l": 0.28556,
    "c": 0.12575,
    "h": 308.7
  },
  "luminance": 0.01953
}

Semantic roles & 50–950 ramp

primary
#3C0D58
secondary
#54932E
accent
#F1377C
background
#F7F4F8
surface
#EDE7F0
border
#C8C3CB
text
#09020B
muted
#7B787C

Preview Lab

Preview with #3C0D58

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

Preview Lab → · Contrast checker → · Palette generator →

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