#3C247B#3C247B

#3C247B is a dark, vivid violet. Relative luminance 0.037; OKLCH L 34.7% C 0.139 H 289.8°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#3C247B
RGBrgb(60, 36, 123)
HSLhsl(257, 55%, 31%)
HSVhsv(257, 71%, 48%)
CMYKcmyk(51.2%, 70.7%, 0%, 51.8%)
CIE-LABlab(22.49, 33.95, -45.64)
CIE-LCHlch(22.49, 56.88, 306.64°)
OKLaboklab(34.66% 0.0472 -0.1309)
OKLCHoklch(34.66% 0.139 289.8)
XYZxyz(6.0685, 3.6522, 19.1202)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C247B #637B24
analogous
#24377B #3C247B #67247B
triadic
#3C247B #7B3C24 #247B3C
tetradic
#3C247B #7B2437 #637B24 #247B67
square
#3C247B #7B2437 #637B24 #247B67
split-complementary
#3C247B #7B6724 #377B24
monochromatic
#0E081C #25164C #3C247B #5332AA #714ECB

Accessibility & contrast

On white

12.14
#3C247B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C247B
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C247B#FFFFFF#000000##FFFFFF
##3C247B1.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377E
Deuteranopia (green-blind)
#003479
Tritanopia (blue-blind)
#273A4C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #3c247b;
/* rgb */ color: rgb(60, 36, 123);
/* oklch */ color: oklch(34.7% 0.139 289.8);
Tailwind
colors: {
  custom: {
    50: '#7861a2',
    500: '#3c247b',
    950: '#000000',
  },
}
SCSS
$custom: #3c247b;
$custom-light: #7861a2;
$custom-dark: #000000;
JSON
{
  "hex": "#3c247b",
  "rgb": {
    "r": 60,
    "g": 36,
    "b": 123
  },
  "hsl": {
    "h": 256.552,
    "s": 54.717,
    "l": 31.176
  },
  "oklch": {
    "l": 0.34657,
    "c": 0.13913,
    "h": 289.8
  },
  "luminance": 0.03652
}

Semantic roles & 50–950 ramp

primary
#3C247B
secondary
#93AD4D
accent
#DE4AB5
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#09050F
muted
#7B797F

Preview Lab

Preview with #3C247B

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

Preview Lab → · Contrast checker → · Palette generator →

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