#3C259C#3C259C

#3C259C is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.0% C 0.179 H 282.6°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#3C259C
RGBrgb(60, 37, 156)
HSLhsl(252, 62%, 38%)
HSVhsv(252, 76%, 61%)
CMYKcmyk(61.5%, 76.3%, 0%, 38.8%)
CIE-LABlab(25.81, 43.58, -60.74)
CIE-LCHlch(25.81, 74.76, 305.65°)
OKLaboklab(37.97% 0.039 -0.1751)
OKLCHoklch(37.97% 0.179 282.6)
XYZxyz(8.5239, 4.6835, 31.9009)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C259C #859C25
analogous
#25499C #3C259C #78259C
triadic
#3C259C #9C3C25 #259C3C
tetradic
#3C259C #9C2549 #859C25 #259C78
square
#3C259C #9C2549 #859C25 #259C78
split-complementary
#3C259C #9C7825 #499C25
monochromatic
#160E39 #29196B #3C259C #4F31CD #7962DA

Accessibility & contrast

On white

10.84
#3C259C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C259C
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C259C#FFFFFF#000000##FFFFFF
##3C259C1.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419F
Deuteranopia (green-blind)
#00399A
Tritanopia (blue-blind)
#00475F
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3c259c;
/* rgb */ color: rgb(60, 37, 156);
/* oklch */ color: oklch(38.0% 0.179 282.6);
Tailwind
colors: {
  custom: {
    50: '#7e63ba',
    500: '#3c259c',
    950: '#000000',
  },
}
SCSS
$custom: #3c259c;
$custom-light: #7e63ba;
$custom-dark: #000000;
JSON
{
  "hex": "#3c259c",
  "rgb": {
    "r": 60,
    "g": 37,
    "b": 156
  },
  "hsl": {
    "h": 251.597,
    "s": 61.658,
    "l": 37.843
  },
  "oklch": {
    "l": 0.37974,
    "c": 0.17943,
    "h": 282.6
  },
  "luminance": 0.04684
}

Semantic roles & 50–950 ramp

primary
#3C259C
secondary
#ACBF5E
accent
#E543C5
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #3C259C

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

Preview Lab → · Contrast checker → · Palette generator →

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