#3C1058#3C1058

#3C1058 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.9% C 0.122 H 308.2°. Best body text is #FFFFFF at 14.92:1 contrast (WCAG AA passes).

Color values

HEX#3C1058
RGBrgb(60, 16, 88)
HSLhsl(277, 69%, 20%)
HSVhsv(277, 82%, 35%)
CMYKcmyk(31.8%, 81.8%, 0%, 65.5%)
CIE-LABlab(15.67, 34.59, -33.85)
CIE-LCHlch(15.67, 48.40, 315.62°)
OKLaboklab(28.86% 0.0757 -0.0961)
OKLCHoklch(28.86% 0.122 308.2)
XYZxyz(3.8099, 2.0359, 9.4229)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1058 #2C5810
analogous
#181058 #3C1058 #581050
triadic
#3C1058 #583C10 #10583C
tetradic
#3C1058 #581810 #2C5810 #105058
square
#3C1058 #581810 #2C5810 #105058
split-complementary
#3C1058 #505810 #105818
monochromatic
#12051A #190724 #3C1058 #5F198C #8323C0

Accessibility & contrast

On white

14.92
#3C1058 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#3C1058 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1058
14.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1058#FFFFFF#000000##FFFFFF
##3C10581.0014.921.4114.92
#FFFFFF14.921.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255A
Deuteranopia (green-blind)
#002857
Tritanopia (blue-blind)
#382233
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3c1058;
/* rgb */ color: rgb(60, 16, 88);
/* oklch */ color: oklch(28.9% 0.122 308.2);
Tailwind
colors: {
  custom: {
    50: '#755488',
    500: '#3c1058',
    950: '#000000',
  },
}
SCSS
$custom: #3c1058;
$custom-light: #755488;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1058",
  "rgb": {
    "r": 60,
    "g": 16,
    "b": 88
  },
  "hsl": {
    "h": 276.667,
    "s": 69.231,
    "l": 20.392
  },
  "oklch": {
    "l": 0.28862,
    "c": 0.12235,
    "h": 308.2
  },
  "luminance": 0.02036
}

Semantic roles & 50–950 ramp

primary
#3C1058
secondary
#579132
accent
#EC3C80
background
#F7F5F8
surface
#EDE8F0
border
#C8C4CB
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3C1058

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

Preview Lab → · Contrast checker → · Palette generator →

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