#3C2995#3C2995

#3C2995 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.8% C 0.166 H 283.1°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#3C2995
RGBrgb(60, 41, 149)
HSLhsl(251, 57%, 37%)
HSVhsv(251, 72%, 58%)
CMYKcmyk(59.7%, 72.5%, 0%, 41.6%)
CIE-LABlab(25.91, 39.20, -56.29)
CIE-LCHlch(25.91, 68.60, 304.85°)
OKLaboklab(37.83% 0.0376 -0.1621)
OKLCHoklch(37.83% 0.166 283.1)
XYZxyz(8.0796, 4.7159, 28.9125)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C2995 #829529
analogous
#294C95 #3C2995 #722995
triadic
#3C2995 #953C29 #29953C
tetradic
#3C2995 #95294C #829529 #299572
square
#3C2995 #95294C #829529 #299572
split-complementary
#3C2995 #957229 #4C9529
monochromatic
#150F35 #291C65 #3C2995 #4F36C5 #7864D4

Accessibility & contrast

On white

10.81
#3C2995 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#3C2995 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C2995
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C2995#FFFFFF#000000##FFFFFF
##3C29951.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004198
Deuteranopia (green-blind)
#003A93
Tritanopia (blue-blind)
#04465C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3c2995;
/* rgb */ color: rgb(60, 41, 149);
/* oklch */ color: oklch(37.8% 0.166 283.1);
Tailwind
colors: {
  custom: {
    50: '#7c65b5',
    500: '#3c2995',
    950: '#000000',
  },
}
SCSS
$custom: #3c2995;
$custom-light: #7c65b5;
$custom-dark: #000000;
JSON
{
  "hex": "#3c2995",
  "rgb": {
    "r": 60,
    "g": 41,
    "b": 149
  },
  "hsl": {
    "h": 250.556,
    "s": 56.842,
    "l": 37.255
  },
  "oklch": {
    "l": 0.37834,
    "c": 0.16644,
    "h": 283.1
  },
  "luminance": 0.04716
}

Semantic roles & 50–950 ramp

primary
#3C2995
secondary
#AABA60
accent
#E048C5
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #3C2995

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

Preview Lab → · Contrast checker → · Palette generator →

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