#3C25A3#3C25A3

#3C25A3 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.7% C 0.188 H 281.4°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#3C25A3
RGBrgb(60, 37, 163)
HSLhsl(251, 63%, 39%)
HSVhsv(251, 77%, 64%)
CMYKcmyk(63.2%, 77.3%, 0%, 36.1%)
CIE-LABlab(26.53, 45.71, -63.83)
CIE-LCHlch(26.53, 78.51, 305.61°)
OKLaboklab(38.69% 0.0372 -0.1841)
OKLCHoklch(38.69% 0.188 281.4)
XYZxyz(9.1338, 4.9275, 35.1130)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C25A3 #8CA325
analogous
#254DA3 #3C25A3 #7B25A3
triadic
#3C25A3 #A33C25 #25A33C
tetradic
#3C25A3 #A3254D #8CA325 #25A37B
square
#3C25A3 #A3254D #8CA325 #25A37B
split-complementary
#3C25A3 #A37B25 #4DA325
monochromatic
#170E3F #2A1A71 #3C25A3 #5134D1 #7C66DC

Accessibility & contrast

On white

10.58
#3C25A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#3C25A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C25A3
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C25A3#FFFFFF#000000##FFFFFF
##3C25A31.0010.581.9910.58
#FFFFFF10.581.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A7
Deuteranopia (green-blind)
#003AA1
Tritanopia (blue-blind)
#004A63
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3c25a3;
/* rgb */ color: rgb(60, 37, 163);
/* oklch */ color: oklch(38.7% 0.188 281.4);
Tailwind
colors: {
  custom: {
    50: '#7f63bf',
    500: '#3c25a3',
    950: '#000000',
  },
}
SCSS
$custom: #3c25a3;
$custom-light: #7f63bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3c25a3",
  "rgb": {
    "r": 60,
    "g": 37,
    "b": 163
  },
  "hsl": {
    "h": 250.952,
    "s": 63,
    "l": 39.216
  },
  "oklch": {
    "l": 0.38689,
    "c": 0.18786,
    "h": 281.4
  },
  "luminance": 0.04928
}

Semantic roles & 50–950 ramp

primary
#3C25A3
secondary
#B0C262
accent
#E642C8
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #3C25A3

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

Preview Lab → · Contrast checker → · Palette generator →

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