#3C259F#3C259F

#3C259F is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.3% C 0.183 H 282.1°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#3C259F
RGBrgb(60, 37, 159)
HSLhsl(251, 62%, 38%)
HSVhsv(251, 77%, 62%)
CMYKcmyk(62.3%, 76.7%, 0%, 37.6%)
CIE-LABlab(26.12, 44.49, -62.07)
CIE-LCHlch(26.12, 76.37, 305.63°)
OKLaboklab(38.28% 0.0382 -0.179)
OKLCHoklch(38.28% 0.183 282.1)
XYZxyz(8.7811, 4.7864, 33.2553)
Luminance0.0479 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C259F #889F25
analogous
#254B9F #3C259F #79259F
triadic
#3C259F #9F3C25 #259F3C
tetradic
#3C259F #9F254B #889F25 #259F79
square
#3C259F #9F254B #889F25 #259F79
split-complementary
#3C259F #9F7925 #4B9F25
monochromatic
#170E3C #29196D #3C259F #5032CF #7A64DB

Accessibility & contrast

On white

10.73
#3C259F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#3C259F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C259F
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C259F#FFFFFF#000000##FFFFFF
##3C259F1.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A2
Deuteranopia (green-blind)
#00399D
Tritanopia (blue-blind)
#004861
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3c259f;
/* rgb */ color: rgb(60, 37, 159);
/* oklch */ color: oklch(38.3% 0.183 282.1);
Tailwind
colors: {
  custom: {
    50: '#7f63bd',
    500: '#3c259f',
    950: '#000000',
  },
}
SCSS
$custom: #3c259f;
$custom-light: #7f63bd;
$custom-dark: #000000;
JSON
{
  "hex": "#3c259f",
  "rgb": {
    "r": 60,
    "g": 37,
    "b": 159
  },
  "hsl": {
    "h": 251.311,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.38279,
    "c": 0.18305,
    "h": 282.1
  },
  "luminance": 0.04787
}

Semantic roles & 50–950 ramp

primary
#3C259F
secondary
#AEC05F
accent
#E542C7
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #3C259F

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

Preview Lab → · Contrast checker → · Palette generator →

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