#3C259B#3C259B

#3C259B is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.9% C 0.178 H 282.7°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#3C259B
RGBrgb(60, 37, 155)
HSLhsl(252, 61%, 38%)
HSVhsv(252, 76%, 61%)
CMYKcmyk(61.3%, 76.1%, 0%, 39.2%)
CIE-LABlab(25.71, 43.27, -60.30)
CIE-LCHlch(25.71, 74.21, 305.66°)
OKLaboklab(37.87% 0.0393 -0.1738)
OKLCHoklch(37.87% 0.178 282.7)
XYZxyz(8.4396, 4.6498, 31.4568)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C259B #849B25
analogous
#25499B #3C259B #77259B
triadic
#3C259B #9B3C25 #259B3C
tetradic
#3C259B #9B2549 #849B25 #259B77
square
#3C259B #9B2549 #849B25 #259B77
split-complementary
#3C259B #9B7725 #499B25
monochromatic
#160D38 #29196A #3C259B #4F31CC #7961D9

Accessibility & contrast

On white

10.88
#3C259B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#3C259B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C259B
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C259B#FFFFFF#000000##FFFFFF
##3C259B1.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419E
Deuteranopia (green-blind)
#003999
Tritanopia (blue-blind)
#00465E
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3c259b;
/* rgb */ color: rgb(60, 37, 155);
/* oklch */ color: oklch(37.9% 0.178 282.7);
Tailwind
colors: {
  custom: {
    50: '#7e63ba',
    500: '#3c259b',
    950: '#000000',
  },
}
SCSS
$custom: #3c259b;
$custom-light: #7e63ba;
$custom-dark: #000000;
JSON
{
  "hex": "#3c259b",
  "rgb": {
    "r": 60,
    "g": 37,
    "b": 155
  },
  "hsl": {
    "h": 251.695,
    "s": 61.458,
    "l": 37.647
  },
  "oklch": {
    "l": 0.37873,
    "c": 0.17821,
    "h": 282.7
  },
  "luminance": 0.0465
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3C259B

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

Preview Lab → · Contrast checker → · Palette generator →

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