#3C2495#3C2495

#3C2495 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.1% C 0.172 H 284.0°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#3C2495
RGBrgb(60, 36, 149)
HSLhsl(253, 61%, 36%)
HSVhsv(253, 76%, 58%)
CMYKcmyk(59.7%, 75.8%, 0%, 41.6%)
CIE-LABlab(24.93, 41.96, -57.91)
CIE-LCHlch(24.93, 71.51, 305.93°)
OKLaboklab(37.14% 0.0415 -0.1668)
OKLCHoklch(37.14% 0.172 284)
XYZxyz(7.9175, 4.3918, 28.8584)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C2495 #7D9524
analogous
#244595 #3C2495 #752495
triadic
#3C2495 #953C24 #24953C
tetradic
#3C2495 #952445 #7D9524 #249575
square
#3C2495 #952445 #7D9524 #249575
split-complementary
#3C2495 #957524 #459524
monochromatic
#140C32 #281864 #3C2495 #5030C6 #765CD8

Accessibility & contrast

On white

11.18
#3C2495 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#3C2495 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C2495
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C2495#FFFFFF#000000##FFFFFF
##3C24951.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E98
Deuteranopia (green-blind)
#003793
Tritanopia (blue-blind)
#05445B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3c2495;
/* rgb */ color: rgb(60, 36, 149);
/* oklch */ color: oklch(37.1% 0.172 284.0);
Tailwind
colors: {
  custom: {
    50: '#7d62b5',
    500: '#3c2495',
    950: '#000000',
  },
}
SCSS
$custom: #3c2495;
$custom-light: #7d62b5;
$custom-dark: #000000;
JSON
{
  "hex": "#3c2495",
  "rgb": {
    "r": 60,
    "g": 36,
    "b": 149
  },
  "hsl": {
    "h": 252.743,
    "s": 61.081,
    "l": 36.275
  },
  "oklch": {
    "l": 0.37138,
    "c": 0.17193,
    "h": 284
  },
  "luminance": 0.04392
}

Semantic roles & 50–950 ramp

primary
#3C2495
secondary
#A7BC59
accent
#E444C2
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3C2495

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

Preview Lab → · Contrast checker → · Palette generator →

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