#3C258B#3C258B

#3C258B is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.3% C 0.158 H 285.8°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#3C258B
RGBrgb(60, 37, 139)
HSLhsl(254, 58%, 35%)
HSVhsv(254, 73%, 55%)
CMYKcmyk(56.8%, 73.4%, 0%, 45.5%)
CIE-LABlab(24.15, 38.33, -52.98)
CIE-LCHlch(24.15, 65.39, 305.88°)
OKLaboklab(36.3% 0.0431 -0.1524)
OKLCHoklch(36.3% 0.158 285.8)
XYZxyz(7.1838, 4.1475, 24.8431)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C258B #748B25
analogous
#25418B #3C258B #6F258B
triadic
#3C258B #8B3C25 #258B3C
tetradic
#3C258B #8B2541 #748B25 #258B6F
square
#3C258B #8B2541 #748B25 #258B6F
split-complementary
#3C258B #8B6F25 #418B25
monochromatic
#120B2A #27185B #3C258B #5132BB #7458D3

Accessibility & contrast

On white

11.48
#3C258B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#3C258B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C258B
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C258B#FFFFFF#000000##FFFFFF
##3C258B1.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8E
Deuteranopia (green-blind)
#003689
Tritanopia (blue-blind)
#184055
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #3c258b;
/* rgb */ color: rgb(60, 37, 139);
/* oklch */ color: oklch(36.3% 0.158 285.8);
Tailwind
colors: {
  custom: {
    50: '#7b62ae',
    500: '#3c258b',
    950: '#000000',
  },
}
SCSS
$custom: #3c258b;
$custom-light: #7b62ae;
$custom-dark: #000000;
JSON
{
  "hex": "#3c258b",
  "rgb": {
    "r": 60,
    "g": 37,
    "b": 139
  },
  "hsl": {
    "h": 253.529,
    "s": 57.955,
    "l": 34.51
  },
  "oklch": {
    "l": 0.36296,
    "c": 0.1584,
    "h": 285.8
  },
  "luminance": 0.04148
}

Semantic roles & 50–950 ramp

primary
#3C258B
secondary
#A1B755
accent
#E147BE
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #3C258B

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

Preview Lab → · Contrast checker → · Palette generator →

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