#3C247A#3C247A

#3C247A is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.6% C 0.138 H 290.1°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#3C247A
RGBrgb(60, 36, 122)
HSLhsl(257, 54%, 31%)
HSVhsv(257, 70%, 48%)
CMYKcmyk(50.8%, 70.5%, 0%, 52.2%)
CIE-LABlab(22.40, 33.64, -45.15)
CIE-LCHlch(22.40, 56.30, 306.69°)
OKLaboklab(34.57% 0.0473 -0.1294)
OKLCHoklch(34.57% 0.138 290.1)
XYZxyz(6.0062, 3.6273, 18.7923)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C247A #627A24
analogous
#24377A #3C247A #67247A
triadic
#3C247A #7A3C24 #247A3C
tetradic
#3C247A #7A2437 #627A24 #247A67
square
#3C247A #7A2437 #627A24 #247A67
split-complementary
#3C247A #7A6724 #377A24
monochromatic
#0E081B #25164B #3C247A #5332A9 #714ECB

Accessibility & contrast

On white

12.17
#3C247A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#3C247A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C247A
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C247A#FFFFFF#000000##FFFFFF
##3C247A1.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377D
Deuteranopia (green-blind)
#003478
Tritanopia (blue-blind)
#27394C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #3c247a;
/* rgb */ color: rgb(60, 36, 122);
/* oklch */ color: oklch(34.6% 0.138 290.1);
Tailwind
colors: {
  custom: {
    50: '#7860a1',
    500: '#3c247a',
    950: '#000000',
  },
}
SCSS
$custom: #3c247a;
$custom-light: #7860a1;
$custom-dark: #000000;
JSON
{
  "hex": "#3c247a",
  "rgb": {
    "r": 60,
    "g": 36,
    "b": 122
  },
  "hsl": {
    "h": 256.744,
    "s": 54.43,
    "l": 30.98
  },
  "oklch": {
    "l": 0.34567,
    "c": 0.13783,
    "h": 290.1
  },
  "luminance": 0.03628
}

Semantic roles & 50–950 ramp

primary
#3C247A
secondary
#92AC4D
accent
#DE4AB5
background
#F7F5FA
surface
#EEEAF3
border
#C9C6CD
text
#09050F
muted
#7B797F

Preview Lab

Preview with #3C247A

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

Preview Lab → · Contrast checker → · Palette generator →

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