#3C25AA#3C25AA

#3C25AA is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.4% C 0.196 H 280.4°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#3C25AA
RGBrgb(60, 37, 170)
HSLhsl(250, 64%, 41%)
HSVhsv(250, 78%, 67%)
CMYKcmyk(64.7%, 78.2%, 0%, 33.3%)
CIE-LABlab(27.26, 47.84, -66.86)
CIE-LCHlch(27.26, 82.21, 305.58°)
OKLaboklab(39.42% 0.0353 -0.193)
OKLCHoklch(39.42% 0.196 280.4)
XYZxyz(9.7784, 5.1853, 38.5080)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C25AA #93AA25
analogous
#2550AA #3C25AA #7E25AA
triadic
#3C25AA #AA3C25 #25AA3C
tetradic
#3C25AA #AA2550 #93AA25 #25AA7E
square
#3C25AA #AA2550 #93AA25 #25AA7E
split-complementary
#3C25AA #AA7E25 #50AA25
monochromatic
#190F45 #2A1A78 #3C25AA #5338D4 #7F6BDF

Accessibility & contrast

On white

10.31
#3C25AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#3C25AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C25AA
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C25AA#FFFFFF#000000##FFFFFF
##3C25AA1.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AE
Deuteranopia (green-blind)
#003BA8
Tritanopia (blue-blind)
#004C67
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3c25aa;
/* rgb */ color: rgb(60, 37, 170);
/* oklch */ color: oklch(39.4% 0.196 280.4);
Tailwind
colors: {
  custom: {
    50: '#8163c5',
    500: '#3c25aa',
    950: '#000000',
  },
}
SCSS
$custom: #3c25aa;
$custom-light: #8163c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3c25aa",
  "rgb": {
    "r": 60,
    "g": 37,
    "b": 170
  },
  "hsl": {
    "h": 250.376,
    "s": 64.251,
    "l": 40.588
  },
  "oklch": {
    "l": 0.39417,
    "c": 0.19617,
    "h": 280.4
  },
  "luminance": 0.05186
}

Semantic roles & 50–950 ramp

primary
#3C25AA
secondary
#B4C566
accent
#E741CA
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0513
muted
#7D7A82

Preview Lab

Preview with #3C25AA

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

Preview Lab → · Contrast checker → · Palette generator →

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