#3C2498#3C2498

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

Color values

HEX#3C2498
RGBrgb(60, 36, 152)
HSLhsl(252, 62%, 37%)
HSVhsv(252, 76%, 60%)
CMYKcmyk(60.5%, 76.3%, 0%, 40.4%)
CIE-LABlab(25.23, 42.88, -59.26)
CIE-LCHlch(25.23, 73.14, 305.89°)
OKLaboklab(37.44% 0.0407 -0.1708)
OKLCHoklch(37.44% 0.176 283.4)
XYZxyz(8.1601, 4.4889, 30.1361)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C2498 #809824
analogous
#244698 #3C2498 #762498
triadic
#3C2498 #983C24 #24983C
tetradic
#3C2498 #982446 #809824 #249876
square
#3C2498 #982446 #809824 #249876
split-complementary
#3C2498 #987624 #469824
monochromatic
#150D35 #281867 #3C2498 #5030C9 #775ED9

Accessibility & contrast

On white

11.07
#3C2498 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#3C2498 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C2498
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C2498#FFFFFF#000000##FFFFFF
##3C24981.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9B
Deuteranopia (green-blind)
#003896
Tritanopia (blue-blind)
#00455C
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3c2498;
/* rgb */ color: rgb(60, 36, 152);
/* oklch */ color: oklch(37.4% 0.176 283.4);
Tailwind
colors: {
  custom: {
    50: '#7d62b7',
    500: '#3c2498',
    950: '#000000',
  },
}
SCSS
$custom: #3c2498;
$custom-light: #7d62b7;
$custom-dark: #000000;
JSON
{
  "hex": "#3c2498",
  "rgb": {
    "r": 60,
    "g": 36,
    "b": 152
  },
  "hsl": {
    "h": 252.414,
    "s": 61.702,
    "l": 36.863
  },
  "oklch": {
    "l": 0.37439,
    "c": 0.17558,
    "h": 283.4
  },
  "luminance": 0.04489
}

Semantic roles & 50–950 ramp

primary
#3C2498
secondary
#A9BE5A
accent
#E543C3
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3C2498

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

Preview Lab → · Contrast checker → · Palette generator →

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