#3C1054#3C1054

#3C1054 is a dark, moderate violet. Relative luminance 0.020; OKLCH L 28.5% C 0.118 H 310.4°. Best body text is #FFFFFF at 15.06:1 contrast (WCAG AA passes).

Color values

HEX#3C1054
RGBrgb(60, 16, 84)
HSLhsl(279, 68%, 20%)
HSVhsv(279, 81%, 33%)
CMYKcmyk(28.6%, 81%, 0%, 67.1%)
CIE-LABlab(15.34, 33.60, -31.70)
CIE-LCHlch(15.34, 46.19, 316.67°)
OKLaboklab(28.52% 0.0765 -0.0898)
OKLCHoklch(28.52% 0.118 310.4)
XYZxyz(3.6487, 1.9714, 8.5741)
Luminance0.0197 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1054 #285410
analogous
#1A1054 #3C1054 #54104A
triadic
#3C1054 #543C10 #10543C
tetradic
#3C1054 #541A10 #285410 #104A54
square
#3C1054 #541A10 #285410 #104A54
split-complementary
#3C1054 #4A5410 #10541A
monochromatic
#12051A #170621 #3C1054 #611A87 #8524BB

Accessibility & contrast

On white

15.06
#3C1054 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C1054
15.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1054#FFFFFF#000000##FFFFFF
##3C10541.0015.061.3915.06
#FFFFFF15.061.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002456
Deuteranopia (green-blind)
#032753
Tritanopia (blue-blind)
#392031
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3c1054;
/* rgb */ color: rgb(60, 16, 84);
/* oklch */ color: oklch(28.5% 0.118 310.4);
Tailwind
colors: {
  custom: {
    50: '#755385',
    500: '#3c1054',
    950: '#000000',
  },
}
SCSS
$custom: #3c1054;
$custom-light: #755385;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1054",
  "rgb": {
    "r": 60,
    "g": 16,
    "b": 84
  },
  "hsl": {
    "h": 278.824,
    "s": 68,
    "l": 19.608
  },
  "oklch": {
    "l": 0.28517,
    "c": 0.11799,
    "h": 310.4
  },
  "luminance": 0.01971
}

Semantic roles & 50–950 ramp

primary
#3C1054
secondary
#528E32
accent
#EB3D7A
background
#F7F4F8
surface
#EDE8EF
border
#C8C4CA
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3C1054

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

Preview Lab → · Contrast checker → · Palette generator →

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