#3C2399#3C2399

#3C2399 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.4% C 0.178 H 283.4°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#3C2399
RGBrgb(60, 35, 153)
HSLhsl(253, 63%, 37%)
HSVhsv(253, 77%, 60%)
CMYKcmyk(60.8%, 77.1%, 0%, 40%)
CIE-LABlab(25.14, 43.70, -60.01)
CIE-LCHlch(25.14, 74.23, 306.06°)
OKLaboklab(37.41% 0.0412 -0.173)
OKLCHoklch(37.41% 0.178 283.4)
XYZxyz(8.2125, 4.4621, 30.5593)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C2399 #809923
analogous
#234599 #3C2399 #772399
triadic
#3C2399 #993C23 #23993C
tetradic
#3C2399 #992345 #809923 #239977
square
#3C2399 #992345 #809923 #239977
split-complementary
#3C2399 #997723 #459923
monochromatic
#150C35 #281867 #3C2399 #502ECB #775DDA

Accessibility & contrast

On white

11.10
#3C2399 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#3C2399 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C2399
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C2399#FFFFFF#000000##FFFFFF
##3C23991.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9C
Deuteranopia (green-blind)
#003897
Tritanopia (blue-blind)
#00455D
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3c2399;
/* rgb */ color: rgb(60, 35, 153);
/* oklch */ color: oklch(37.4% 0.178 283.4);
Tailwind
colors: {
  custom: {
    50: '#7e61b8',
    500: '#3c2399',
    950: '#000000',
  },
}
SCSS
$custom: #3c2399;
$custom-light: #7e61b8;
$custom-dark: #000000;
JSON
{
  "hex": "#3c2399",
  "rgb": {
    "r": 60,
    "g": 35,
    "b": 153
  },
  "hsl": {
    "h": 252.712,
    "s": 62.766,
    "l": 36.863
  },
  "oklch": {
    "l": 0.37412,
    "c": 0.1778,
    "h": 283.4
  },
  "luminance": 0.04463
}

Semantic roles & 50–950 ramp

primary
#3C2399
secondary
#A9BE59
accent
#E642C3
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3C2399

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

Preview Lab → · Contrast checker → · Palette generator →

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