#3C259D#3C259D

#3C259D is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.1% C 0.181 H 282.4°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#3C259D
RGBrgb(60, 37, 157)
HSLhsl(252, 62%, 38%)
HSVhsv(252, 76%, 62%)
CMYKcmyk(61.8%, 76.4%, 0%, 38.4%)
CIE-LABlab(25.91, 43.88, -61.19)
CIE-LCHlch(25.91, 75.30, 305.65°)
OKLaboklab(38.07% 0.0387 -0.1764)
OKLCHoklch(38.07% 0.181 282.4)
XYZxyz(8.6090, 4.7175, 32.3487)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C259D #869D25
analogous
#254A9D #3C259D #78259D
triadic
#3C259D #9D3C25 #259D3C
tetradic
#3C259D #9D254A #869D25 #259D78
square
#3C259D #9D254A #869D25 #259D78
split-complementary
#3C259D #9D7825 #4A9D25
monochromatic
#160E3A #29196B #3C259D #4F31CE #7962DA

Accessibility & contrast

On white

10.80
#3C259D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C259D
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C259D#FFFFFF#000000##FFFFFF
##3C259D1.0010.801.9410.80
#FFFFFF10.801.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A0
Deuteranopia (green-blind)
#00399B
Tritanopia (blue-blind)
#00475F
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3c259d;
/* rgb */ color: rgb(60, 37, 157);
/* oklch */ color: oklch(38.1% 0.181 282.4);
Tailwind
colors: {
  custom: {
    50: '#7e63bb',
    500: '#3c259d',
    950: '#000000',
  },
}
SCSS
$custom: #3c259d;
$custom-light: #7e63bb;
$custom-dark: #000000;
JSON
{
  "hex": "#3c259d",
  "rgb": {
    "r": 60,
    "g": 37,
    "b": 157
  },
  "hsl": {
    "h": 251.5,
    "s": 61.856,
    "l": 38.039
  },
  "oklch": {
    "l": 0.38075,
    "c": 0.18064,
    "h": 282.4
  },
  "luminance": 0.04718
}

Semantic roles & 50–950 ramp

primary
#3C259D
secondary
#ADBF5E
accent
#E543C6
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #3C259D

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

Preview Lab → · Contrast checker → · Palette generator →

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