#3C0E58#3C0E58

#3C0E58 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.7% C 0.125 H 308.5°. Best body text is #FFFFFF at 15.05:1 contrast (WCAG AA passes).

Color values

HEX#3C0E58
RGBrgb(60, 14, 88)
HSLhsl(277, 73%, 20%)
HSVhsv(277, 84%, 35%)
CMYKcmyk(31.8%, 84.1%, 0%, 65.5%)
CIE-LABlab(15.38, 35.44, -34.33)
CIE-LCHlch(15.38, 49.34, 315.91°)
OKLaboklab(28.65% 0.0776 -0.0975)
OKLCHoklch(28.65% 0.125 308.5)
XYZxyz(3.7816, 1.9794, 9.4135)
Luminance0.0198 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C0E58 #2A580E
analogous
#170E58 #3C0E58 #580E4F
triadic
#3C0E58 #583C0E #0E583C
tetradic
#3C0E58 #58170E #2A580E #0E4F58
square
#3C0E58 #58170E #2A580E #0E4F58
split-complementary
#3C0E58 #4F580E #0E5817
monochromatic
#12041A #180623 #3C0E58 #60168D #841FC2

Accessibility & contrast

On white

15.05
#3C0E58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#3C0E58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C0E58
15.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C0E58#FFFFFF#000000##FFFFFF
##3C0E581.0015.051.4015.05
#FFFFFF15.051.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3c0e58;
/* rgb */ color: rgb(60, 14, 88);
/* oklch */ color: oklch(28.7% 0.125 308.5);
Tailwind
colors: {
  custom: {
    50: '#755388',
    500: '#3c0e58',
    950: '#000000',
  },
}
SCSS
$custom: #3c0e58;
$custom-light: #755388;
$custom-dark: #000000;
JSON
{
  "hex": "#3c0e58",
  "rgb": {
    "r": 60,
    "g": 14,
    "b": 88
  },
  "hsl": {
    "h": 277.297,
    "s": 72.549,
    "l": 20
  },
  "oklch": {
    "l": 0.28654,
    "c": 0.12466,
    "h": 308.5
  },
  "luminance": 0.01979
}

Semantic roles & 50–950 ramp

primary
#3C0E58
secondary
#559230
accent
#EF397E
background
#F7F4F8
surface
#EDE7F0
border
#C8C3CB
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3C0E58

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

Preview Lab → · Contrast checker → · Palette generator →

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