#3C1875#3C1875

#3C1875 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.5% C 0.146 H 294.3°. Best body text is #FFFFFF at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#3C1875
RGBrgb(60, 24, 117)
HSLhsl(263, 66%, 28%)
HSVhsv(263, 79%, 46%)
CMYKcmyk(48.7%, 79.5%, 0%, 54.1%)
CIE-LABlab(19.63, 38.63, -46.47)
CIE-LCHlch(19.63, 60.44, 309.74°)
OKLaboklab(32.46% 0.0602 -0.1333)
OKLCHoklch(32.46% 0.146 294.3)
XYZxyz(5.4001, 2.8981, 17.1010)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1875 #517518
analogous
#182275 #3C1875 #6A1875
triadic
#3C1875 #753C18 #18753C
tetradic
#3C1875 #751822 #517518 #18756A
square
#3C1875 #751822 #517518 #18756A
split-complementary
#3C1875 #756A18 #227518
monochromatic
#0D0519 #220E42 #3C1875 #5622A8 #7132D5

Accessibility & contrast

On white

13.29
#3C1875 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#3C1875 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1875
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1875#FFFFFF#000000##FFFFFF
##3C18751.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003078
Deuteranopia (green-blind)
#002E73
Tritanopia (blue-blind)
#2B3146
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #3c1875;
/* rgb */ color: rgb(60, 24, 117);
/* oklch */ color: oklch(32.5% 0.146 294.3);
Tailwind
colors: {
  custom: {
    50: '#78599e',
    500: '#3c1875',
    950: '#000000',
  },
}
SCSS
$custom: #3c1875;
$custom-light: #78599e;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1875",
  "rgb": {
    "r": 60,
    "g": 24,
    "b": 117
  },
  "hsl": {
    "h": 263.226,
    "s": 65.957,
    "l": 27.647
  },
  "oklch": {
    "l": 0.32463,
    "c": 0.14622,
    "h": 294.3
  },
  "luminance": 0.02898
}

Semantic roles & 50–950 ramp

primary
#3C1875
secondary
#81AA3F
accent
#E93FA7
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #3C1875

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

Preview Lab → · Contrast checker → · Palette generator →

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