#3C258F#3C258F

#3C258F is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.7% C 0.163 H 285.0°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#3C258F
RGBrgb(60, 37, 143)
HSLhsl(253, 59%, 35%)
HSVhsv(253, 74%, 56%)
CMYKcmyk(58%, 74.1%, 0%, 43.9%)
CIE-LABlab(24.53, 39.57, -54.84)
CIE-LCHlch(24.53, 67.63, 305.81°)
OKLaboklab(36.68% 0.0422 -0.1579)
OKLCHoklch(36.68% 0.163 285)
XYZxyz(7.4815, 4.2665, 26.4106)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C258F #788F25
analogous
#25438F #3C258F #71258F
triadic
#3C258F #8F3C25 #258F3C
tetradic
#3C258F #8F2543 #788F25 #258F71
square
#3C258F #8F2543 #788F25 #258F71
split-complementary
#3C258F #8F7125 #438F25
monochromatic
#130C2E #28185E #3C258F #5032C0 #755AD4

Accessibility & contrast

On white

11.33
#3C258F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C258F
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C258F#FFFFFF#000000##FFFFFF
##3C258F1.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D92
Deuteranopia (green-blind)
#00378D
Tritanopia (blue-blind)
#124258
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #3c258f;
/* rgb */ color: rgb(60, 37, 143);
/* oklch */ color: oklch(36.7% 0.163 285.0);
Tailwind
colors: {
  custom: {
    50: '#7c62b1',
    500: '#3c258f',
    950: '#000000',
  },
}
SCSS
$custom: #3c258f;
$custom-light: #7c62b1;
$custom-dark: #000000;
JSON
{
  "hex": "#3c258f",
  "rgb": {
    "r": 60,
    "g": 37,
    "b": 143
  },
  "hsl": {
    "h": 253.019,
    "s": 58.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.36682,
    "c": 0.16342,
    "h": 285
  },
  "luminance": 0.04267
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3C258F

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

Preview Lab → · Contrast checker → · Palette generator →

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