#3C195E#3C195E

#3C195E is a dark, moderate violet. Relative luminance 0.025; OKLCH L 30.5% C 0.117 H 303.3°. Best body text is #FFFFFF at 14.07:1 contrast (WCAG AA passes).

Color values

HEX#3C195E
RGBrgb(60, 25, 94)
HSLhsl(270, 58%, 23%)
HSVhsv(270, 73%, 37%)
CMYKcmyk(36.2%, 73.4%, 0%, 63.1%)
CIE-LABlab(17.76, 31.71, -34.50)
CIE-LCHlch(17.76, 46.85, 312.59°)
OKLaboklab(30.5% 0.0644 -0.0981)
OKLCHoklch(30.5% 0.117 303.3)
XYZxyz(4.2310, 2.4641, 10.8402)
Luminance0.0246 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C195E #3B5E19
analogous
#19195E #3C195E #5E195D
triadic
#3C195E #5E3C19 #195E3C
tetradic
#3C195E #5E1919 #3B5E19 #195D5E
square
#3C195E #5E1919 #3B5E19 #195D5E
split-complementary
#3C195E #5D5E19 #195E19
monochromatic
#0F0618 #1D0C2E #3C195E #5B268E #7A33BF

Accessibility & contrast

On white

14.07
#3C195E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#3C195E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C195E
14.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C195E#FFFFFF#000000##FFFFFF
##3C195E1.0014.071.4914.07
#FFFFFF14.071.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B60
Deuteranopia (green-blind)
#002B5D
Tritanopia (blue-blind)
#352939
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #3c195e;
/* rgb */ color: rgb(60, 25, 94);
/* oklch */ color: oklch(30.5% 0.117 303.3);
Tailwind
colors: {
  custom: {
    50: '#75598c',
    500: '#3c195e',
    950: '#000000',
  },
}
SCSS
$custom: #3c195e;
$custom-light: #75598c;
$custom-dark: #000000;
JSON
{
  "hex": "#3c195e",
  "rgb": {
    "r": 60,
    "g": 25,
    "b": 94
  },
  "hsl": {
    "h": 270.435,
    "s": 57.983,
    "l": 23.333
  },
  "oklch": {
    "l": 0.30497,
    "c": 0.11735,
    "h": 303.3
  },
  "luminance": 0.02464
}

Semantic roles & 50–950 ramp

primary
#3C195E
secondary
#69943F
accent
#E14793
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3C195E

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

Preview Lab → · Contrast checker → · Palette generator →

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