#3C195F#3C195F

#3C195F is a dark, moderate violet. Relative luminance 0.025; OKLCH L 30.6% C 0.119 H 302.8°. Best body text is #FFFFFF at 14.03:1 contrast (WCAG AA passes).

Color values

HEX#3C195F
RGBrgb(60, 25, 95)
HSLhsl(270, 58%, 24%)
HSVhsv(270, 74%, 37%)
CMYKcmyk(36.8%, 73.7%, 0%, 62.7%)
CIE-LABlab(17.84, 31.98, -35.03)
CIE-LCHlch(17.84, 47.43, 312.40°)
OKLaboklab(30.58% 0.0643 -0.0996)
OKLCHoklch(30.58% 0.119 302.8)
XYZxyz(4.2762, 2.4821, 11.0781)
Luminance0.0248 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C195F #3C5F19
analogous
#19195F #3C195F #5F195F
triadic
#3C195F #5F3C19 #195F3C
tetradic
#3C195F #5F1919 #3C5F19 #195F5F
square
#3C195F #5F1919 #3C5F19 #195F5F
split-complementary
#3C195F #5F5F19 #195F19
monochromatic
#0F0618 #1D0C2F #3C195F #5B268F #7932C0

Accessibility & contrast

On white

14.03
#3C195F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#3C195F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C195F
14.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C195F#FFFFFF#000000##FFFFFF
##3C195F1.0014.031.5014.03
#FFFFFF14.031.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B61
Deuteranopia (green-blind)
#002B5E
Tritanopia (blue-blind)
#35293A
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #3c195f;
/* rgb */ color: rgb(60, 25, 95);
/* oklch */ color: oklch(30.6% 0.119 302.8);
Tailwind
colors: {
  custom: {
    50: '#75598d',
    500: '#3c195f',
    950: '#000000',
  },
}
SCSS
$custom: #3c195f;
$custom-light: #75598d;
$custom-dark: #000000;
JSON
{
  "hex": "#3c195f",
  "rgb": {
    "r": 60,
    "g": 25,
    "b": 95
  },
  "hsl": {
    "h": 270,
    "s": 58.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.30581,
    "c": 0.11858,
    "h": 302.8
  },
  "luminance": 0.02482
}

Semantic roles & 50–950 ramp

primary
#3C195F
secondary
#6A953F
accent
#E24694
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3C195F

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

Preview Lab → · Contrast checker → · Palette generator →

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