#3C258E#3C258E

#3C258E is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.6% C 0.162 H 285.2°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#3C258E
RGBrgb(60, 37, 142)
HSLhsl(253, 59%, 35%)
HSVhsv(253, 74%, 56%)
CMYKcmyk(57.7%, 73.9%, 0%, 44.3%)
CIE-LABlab(24.44, 39.26, -54.38)
CIE-LCHlch(24.44, 67.07, 305.83°)
OKLaboklab(36.59% 0.0424 -0.1565)
OKLCHoklch(36.59% 0.162 285.2)
XYZxyz(7.4061, 4.2364, 26.0134)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C258E #778E25
analogous
#25428E #3C258E #71258E
triadic
#3C258E #8E3C25 #258E3C
tetradic
#3C258E #8E2542 #778E25 #258E71
square
#3C258E #8E2542 #778E25 #258E71
split-complementary
#3C258E #8E7125 #428E25
monochromatic
#130C2D #27185D #3C258E #5132BF #745AD4

Accessibility & contrast

On white

11.37
#3C258E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#3C258E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C258E
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C258E#FFFFFF#000000##FFFFFF
##3C258E1.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D91
Deuteranopia (green-blind)
#00378C
Tritanopia (blue-blind)
#144157
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #3c258e;
/* rgb */ color: rgb(60, 37, 142);
/* oklch */ color: oklch(36.6% 0.162 285.2);
Tailwind
colors: {
  custom: {
    50: '#7b62b0',
    500: '#3c258e',
    950: '#000000',
  },
}
SCSS
$custom: #3c258e;
$custom-light: #7b62b0;
$custom-dark: #000000;
JSON
{
  "hex": "#3c258e",
  "rgb": {
    "r": 60,
    "g": 37,
    "b": 142
  },
  "hsl": {
    "h": 253.143,
    "s": 58.659,
    "l": 35.098
  },
  "oklch": {
    "l": 0.36585,
    "c": 0.16217,
    "h": 285.2
  },
  "luminance": 0.04237
}

Semantic roles & 50–950 ramp

primary
#3C258E
secondary
#A3B956
accent
#E246C0
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #3C258E

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

Preview Lab → · Contrast checker → · Palette generator →

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