#3C1966#3C1966

#3C1966 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.2% C 0.127 H 299.7°. Best body text is #FFFFFF at 13.79:1 contrast (WCAG AA passes).

Color values

HEX#3C1966
RGBrgb(60, 25, 102)
HSLhsl(267, 61%, 25%)
HSVhsv(267, 75%, 40%)
CMYKcmyk(41.2%, 75.5%, 0%, 60%)
CIE-LABlab(18.43, 33.91, -38.69)
CIE-LCHlch(18.43, 51.45, 311.24°)
OKLaboklab(31.19% 0.063 -0.1104)
OKLCHoklch(31.19% 0.127 299.7)
XYZxyz(4.6088, 2.6152, 12.8298)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1966 #436619
analogous
#191C66 #3C1966 #631966
triadic
#3C1966 #663C19 #19663C
tetradic
#3C1966 #66191C #436619 #196663
square
#3C1966 #66191C #436619 #196663
split-complementary
#3C1966 #666319 #1C6619
monochromatic
#0E0619 #1F0D35 #3C1966 #592597 #7631C8

Accessibility & contrast

On white

13.79
#3C1966 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#3C1966 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1966
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1966#FFFFFF#000000##FFFFFF
##3C19661.0013.791.5213.79
#FFFFFF13.791.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D68
Deuteranopia (green-blind)
#002C64
Tritanopia (blue-blind)
#322C3D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #3c1966;
/* rgb */ color: rgb(60, 25, 102);
/* oklch */ color: oklch(31.2% 0.127 299.7);
Tailwind
colors: {
  custom: {
    50: '#765992',
    500: '#3c1966',
    950: '#000000',
  },
}
SCSS
$custom: #3c1966;
$custom-light: #765992;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1966",
  "rgb": {
    "r": 60,
    "g": 25,
    "b": 102
  },
  "hsl": {
    "h": 267.273,
    "s": 60.63,
    "l": 24.902
  },
  "oklch": {
    "l": 0.31191,
    "c": 0.1271,
    "h": 299.7
  },
  "luminance": 0.02615
}

Semantic roles & 50–950 ramp

primary
#3C1966
secondary
#729C3F
accent
#E4449B
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09040D
muted
#7B797E

Preview Lab

Preview with #3C1966

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

Preview Lab → · Contrast checker → · Palette generator →

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