#3C0F66#3C0F66

#3C0F66 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.0% C 0.139 H 301.6°. Best body text is #FFFFFF at 14.46:1 contrast (WCAG AA passes).

Color values

HEX#3C0F66
RGBrgb(60, 15, 102)
HSLhsl(271, 74%, 23%)
HSVhsv(271, 85%, 40%)
CMYKcmyk(41.2%, 85.3%, 0%, 60%)
CIE-LABlab(16.80, 38.57, -41.34)
CIE-LCHlch(16.80, 56.54, 313.01°)
OKLaboklab(30.05% 0.0726 -0.1181)
OKLCHoklch(30.05% 0.139 301.6)
XYZxyz(4.4320, 2.2616, 12.7708)
Luminance0.0226 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C0F66 #39660F
analogous
#100F66 #3C0F66 #660F64
triadic
#3C0F66 #663C0F #0F663C
tetradic
#3C0F66 #66100F #39660F #0F6466
square
#3C0F66 #66100F #39660F #0F6466
split-complementary
#3C0F66 #64660F #0F6610
monochromatic
#10041B #1D0731 #3C0F66 #5B179B #7B1FD1

Accessibility & contrast

On white

14.46
#3C0F66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#3C0F66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C0F66
14.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C0F66#FFFFFF#000000##FFFFFF
##3C0F661.0014.461.4514.46
#FFFFFF14.461.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002968
Deuteranopia (green-blind)
#002964
Tritanopia (blue-blind)
#33273B
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #3c0f66;
/* rgb */ color: rgb(60, 15, 102);
/* oklch */ color: oklch(30.0% 0.139 301.6);
Tailwind
colors: {
  custom: {
    50: '#775492',
    500: '#3c0f66',
    950: '#000000',
  },
}
SCSS
$custom: #3c0f66;
$custom-light: #775492;
$custom-dark: #000000;
JSON
{
  "hex": "#3c0f66",
  "rgb": {
    "r": 60,
    "g": 15,
    "b": 102
  },
  "hsl": {
    "h": 271.034,
    "s": 74.359,
    "l": 22.941
  },
  "oklch": {
    "l": 0.30047,
    "c": 0.13865,
    "h": 301.6
  },
  "luminance": 0.02262
}

Semantic roles & 50–950 ramp

primary
#3C0F66
secondary
#679F32
accent
#F13791
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3C0F66

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

Preview Lab → · Contrast checker → · Palette generator →

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