#3D196F#3D196F

#3D196F is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.1% C 0.138 H 296.9°. Best body text is #FFFFFF at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#3D196F
RGBrgb(61, 25, 111)
HSLhsl(265, 63%, 27%)
HSVhsv(265, 77%, 44%)
CMYKcmyk(45%, 77.5%, 0%, 56.5%)
CIE-LABlab(19.37, 36.63, -43.02)
CIE-LCHlch(19.37, 56.50, 310.41°)
OKLaboklab(32.14% 0.0625 -0.1231)
OKLCHoklch(32.14% 0.138 296.9)
XYZxyz(5.1406, 2.8350, 15.3122)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D196F #4B6F19
analogous
#19206F #3D196F #68196F
triadic
#3D196F #6F3D19 #196F3D
tetradic
#3D196F #6F1920 #4B6F19 #196F68
square
#3D196F #6F1920 #4B6F19 #196F68
split-complementary
#3D196F #6F6819 #206F19
monochromatic
#0E0619 #220E3D #3D196F #5824A1 #7432D1

Accessibility & contrast

On white

13.40
#3D196F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#3D196F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D196F
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D196F#FFFFFF#000000##FFFFFF
##3D196F1.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F71
Deuteranopia (green-blind)
#002E6D
Tritanopia (blue-blind)
#302F42
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #3d196f;
/* rgb */ color: rgb(61, 25, 111);
/* oklch */ color: oklch(32.1% 0.138 296.9);
Tailwind
colors: {
  custom: {
    50: '#785a99',
    500: '#3d196f',
    950: '#000000',
  },
}
SCSS
$custom: #3d196f;
$custom-light: #785a99;
$custom-dark: #000000;
JSON
{
  "hex": "#3d196f",
  "rgb": {
    "r": 61,
    "g": 25,
    "b": 111
  },
  "hsl": {
    "h": 265.116,
    "s": 63.235,
    "l": 26.667
  },
  "oklch": {
    "l": 0.32135,
    "c": 0.13806,
    "h": 296.9
  },
  "luminance": 0.02835
}

Semantic roles & 50–950 ramp

primary
#3D196F
secondary
#7AA43F
accent
#E642A1
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #3D196F

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

Preview Lab → · Contrast checker → · Palette generator →

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