#3C1267#3C1267

#3C1267 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.4% C 0.137 H 300.7°. Best body text is #FFFFFF at 14.24:1 contrast (WCAG AA passes).

Color values

HEX#3C1267
RGBrgb(60, 18, 103)
HSLhsl(270, 70%, 24%)
HSVhsv(270, 83%, 40%)
CMYKcmyk(41.7%, 82.5%, 0%, 59.6%)
CIE-LABlab(17.33, 37.58, -41.14)
CIE-LCHlch(17.33, 55.72, 312.41°)
OKLaboklab(30.44% 0.0697 -0.1175)
OKLCHoklch(30.44% 0.137 300.7)
XYZxyz(4.5274, 2.3725, 13.0488)
Luminance0.0237 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1267 #3D6712
analogous
#121267 #3C1267 #661267
triadic
#3C1267 #673C12 #12673C
tetradic
#3C1267 #671212 #3D6712 #126766
square
#3C1267 #671212 #3D6712 #126766
split-complementary
#3C1267 #676612 #126712
monochromatic
#0F051A #1E0933 #3C1267 #5A1B9B #7924CF

Accessibility & contrast

On white

14.24
#3C1267 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#3C1267 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1267
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1267#FFFFFF#000000##FFFFFF
##3C12671.0014.241.4714.24
#FFFFFF14.241.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A69
Deuteranopia (green-blind)
#002A65
Tritanopia (blue-blind)
#32293C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #3c1267;
/* rgb */ color: rgb(60, 18, 103);
/* oklch */ color: oklch(30.4% 0.137 300.7);
Tailwind
colors: {
  custom: {
    50: '#775593',
    500: '#3c1267',
    950: '#000000',
  },
}
SCSS
$custom: #3c1267;
$custom-light: #775593;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1267",
  "rgb": {
    "r": 60,
    "g": 18,
    "b": 103
  },
  "hsl": {
    "h": 269.647,
    "s": 70.248,
    "l": 23.725
  },
  "oklch": {
    "l": 0.30444,
    "c": 0.13666,
    "h": 300.7
  },
  "luminance": 0.02373
}

Semantic roles & 50–950 ramp

primary
#3C1267
secondary
#6B9F36
accent
#ED3B95
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3C1267

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

Preview Lab → · Contrast checker → · Palette generator →

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