#3D196B#3D196B

#3D196B is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.8% C 0.133 H 298.4°. Best body text is #FFFFFF at 13.55:1 contrast (WCAG AA passes).

Color values

HEX#3D196B
RGBrgb(61, 25, 107)
HSLhsl(266, 62%, 26%)
HSVhsv(266, 77%, 42%)
CMYKcmyk(43%, 76.6%, 0%, 58%)
CIE-LABlab(19.01, 35.51, -41.01)
CIE-LCHlch(19.01, 54.25, 310.89°)
OKLaboklab(31.77% 0.0635 -0.1172)
OKLCHoklch(31.77% 0.133 298.4)
XYZxyz(4.9253, 2.7488, 14.1782)
Luminance0.0275 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D196B #476B19
analogous
#191E6B #3D196B #66196B
triadic
#3D196B #6B3D19 #196B3D
tetradic
#3D196B #6B191E #476B19 #196B66
square
#3D196B #6B191E #476B19 #196B66
split-complementary
#3D196B #6B6619 #1E6B19
monochromatic
#0E0619 #210D39 #3D196B #59259D #7630CE

Accessibility & contrast

On white

13.55
#3D196B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D196B
13.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D196B#FFFFFF#000000##FFFFFF
##3D196B1.0013.551.5513.55
#FFFFFF13.551.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6D
Deuteranopia (green-blind)
#002D69
Tritanopia (blue-blind)
#322E40
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #3d196b;
/* rgb */ color: rgb(61, 25, 107);
/* oklch */ color: oklch(31.8% 0.133 298.4);
Tailwind
colors: {
  custom: {
    50: '#775996',
    500: '#3d196b',
    950: '#000000',
  },
}
SCSS
$custom: #3d196b;
$custom-light: #775996;
$custom-dark: #000000;
JSON
{
  "hex": "#3d196b",
  "rgb": {
    "r": 61,
    "g": 25,
    "b": 107
  },
  "hsl": {
    "h": 266.341,
    "s": 62.121,
    "l": 25.882
  },
  "oklch": {
    "l": 0.31767,
    "c": 0.13327,
    "h": 298.4
  },
  "luminance": 0.02749
}

Semantic roles & 50–950 ramp

primary
#3D196B
secondary
#76A13F
accent
#E5439E
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040D
muted
#7B797E

Preview Lab

Preview with #3D196B

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

Preview Lab → · Contrast checker → · Palette generator →

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