#3D196C#3D196C

#3D196C is a dark, vivid violet. Relative luminance 0.028; OKLCH L 31.9% C 0.134 H 298.0°. Best body text is #FFFFFF at 13.51:1 contrast (WCAG AA passes).

Color values

HEX#3D196C
RGBrgb(61, 25, 108)
HSLhsl(266, 62%, 26%)
HSVhsv(266, 77%, 42%)
CMYKcmyk(43.5%, 76.9%, 0%, 57.6%)
CIE-LABlab(19.10, 35.79, -41.52)
CIE-LCHlch(19.10, 54.81, 310.76°)
OKLaboklab(31.86% 0.0632 -0.1187)
OKLCHoklch(31.86% 0.134 298)
XYZxyz(4.9782, 2.7700, 14.4568)
Luminance0.0277 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D196C #486C19
analogous
#191E6C #3D196C #66196C
triadic
#3D196C #6C3D19 #196C3D
tetradic
#3D196C #6C191E #486C19 #196C66
square
#3D196C #6C191E #486C19 #196C66
split-complementary
#3D196C #6C6619 #1E6C19
monochromatic
#0E0619 #210D3A #3D196C #59259E #7530CF

Accessibility & contrast

On white

13.51
#3D196C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#3D196C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D196C
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D196C#FFFFFF#000000##FFFFFF
##3D196C1.0013.511.5513.51
#FFFFFF13.511.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6E
Deuteranopia (green-blind)
#002D6A
Tritanopia (blue-blind)
#312E41
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #3d196c;
/* rgb */ color: rgb(61, 25, 108);
/* oklch */ color: oklch(31.9% 0.134 298.0);
Tailwind
colors: {
  custom: {
    50: '#785997',
    500: '#3d196c',
    950: '#000000',
  },
}
SCSS
$custom: #3d196c;
$custom-light: #785997;
$custom-dark: #000000;
JSON
{
  "hex": "#3d196c",
  "rgb": {
    "r": 61,
    "g": 25,
    "b": 108
  },
  "hsl": {
    "h": 266.024,
    "s": 62.406,
    "l": 26.078
  },
  "oklch": {
    "l": 0.31858,
    "c": 0.13448,
    "h": 298
  },
  "luminance": 0.0277
}

Semantic roles & 50–950 ramp

primary
#3D196C
secondary
#77A13F
accent
#E5429F
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040D
muted
#7B797E

Preview Lab

Preview with #3D196C

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

Preview Lab → · Contrast checker → · Palette generator →

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