#3D146C#3D146C

#3D146C is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.3% C 0.140 H 299.0°. Best body text is #FFFFFF at 13.86:1 contrast (WCAG AA passes).

Color values

HEX#3D146C
RGBrgb(61, 20, 108)
HSLhsl(268, 69%, 25%)
HSVhsv(268, 81%, 42%)
CMYKcmyk(43.5%, 81.5%, 0%, 57.6%)
CIE-LABlab(18.25, 38.19, -42.89)
CIE-LCHlch(18.25, 57.44, 311.68°)
OKLaboklab(31.26% 0.068 -0.1227)
OKLCHoklch(31.26% 0.14 299)
XYZxyz(4.8807, 2.5751, 14.4243)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D146C #436C14
analogous
#14176C #3D146C #69146C
triadic
#3D146C #6C3D14 #146C3D
tetradic
#3D146C #6C1417 #436C14 #146C69
square
#3D146C #6C1417 #436C14 #146C69
split-complementary
#3D146C #6C6914 #176C14
monochromatic
#0F051A #200A38 #3D146C #5A1EA0 #7727D3

Accessibility & contrast

On white

13.86
#3D146C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#3D146C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D146C
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D146C#FFFFFF#000000##FFFFFF
##3D146C1.0013.861.5213.86
#FFFFFF13.861.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6E
Deuteranopia (green-blind)
#002C6A
Tritanopia (blue-blind)
#312C40
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #3d146c;
/* rgb */ color: rgb(61, 20, 108);
/* oklch */ color: oklch(31.3% 0.140 299.0);
Tailwind
colors: {
  custom: {
    50: '#785797',
    500: '#3d146c',
    950: '#000000',
  },
}
SCSS
$custom: #3d146c;
$custom-light: #785797;
$custom-dark: #000000;
JSON
{
  "hex": "#3d146c",
  "rgb": {
    "r": 61,
    "g": 20,
    "b": 108
  },
  "hsl": {
    "h": 267.955,
    "s": 68.75,
    "l": 25.098
  },
  "oklch": {
    "l": 0.31265,
    "c": 0.14029,
    "h": 299
  },
  "luminance": 0.02575
}

Semantic roles & 50–950 ramp

primary
#3D146C
secondary
#72A339
accent
#EC3C9A
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3D146C

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

Preview Lab → · Contrast checker → · Palette generator →

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