#3C259E#3C259E

#3C259E is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.2% C 0.182 H 282.2°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#3C259E
RGBrgb(60, 37, 158)
HSLhsl(251, 62%, 38%)
HSVhsv(251, 77%, 62%)
CMYKcmyk(62%, 76.6%, 0%, 38%)
CIE-LABlab(26.02, 44.19, -61.63)
CIE-LCHlch(26.02, 75.83, 305.64°)
OKLaboklab(38.18% 0.0385 -0.1777)
OKLCHoklch(38.18% 0.182 282.2)
XYZxyz(8.6947, 4.7518, 32.8001)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C259E #879E25
analogous
#254A9E #3C259E #78259E
triadic
#3C259E #9E3C25 #259E3C
tetradic
#3C259E #9E254A #879E25 #259E78
square
#3C259E #9E254A #879E25 #259E78
split-complementary
#3C259E #9E7825 #4A9E25
monochromatic
#160E3B #29196C #3C259E #4F31CF #7A63DA

Accessibility & contrast

On white

10.77
#3C259E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#3C259E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C259E
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C259E#FFFFFF#000000##FFFFFF
##3C259E1.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A1
Deuteranopia (green-blind)
#00399C
Tritanopia (blue-blind)
#004860
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3c259e;
/* rgb */ color: rgb(60, 37, 158);
/* oklch */ color: oklch(38.2% 0.182 282.2);
Tailwind
colors: {
  custom: {
    50: '#7e63bc',
    500: '#3c259e',
    950: '#000000',
  },
}
SCSS
$custom: #3c259e;
$custom-light: #7e63bc;
$custom-dark: #000000;
JSON
{
  "hex": "#3c259e",
  "rgb": {
    "r": 60,
    "g": 37,
    "b": 158
  },
  "hsl": {
    "h": 251.405,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.38177,
    "c": 0.18185,
    "h": 282.2
  },
  "luminance": 0.04752
}

Semantic roles & 50–950 ramp

primary
#3C259E
secondary
#ADC05F
accent
#E543C6
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #3C259E

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

Preview Lab → · Contrast checker → · Palette generator →

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