#3D146A#3D146A

#3D146A is a dark, vivid violet. Relative luminance 0.025; OKLCH L 31.1% C 0.138 H 299.8°. Best body text is #FFFFFF at 13.94:1 contrast (WCAG AA passes).

Color values

HEX#3D146A
RGBrgb(61, 20, 106)
HSLhsl(269, 68%, 25%)
HSVhsv(269, 81%, 42%)
CMYKcmyk(42.5%, 81.1%, 0%, 58.4%)
CIE-LABlab(18.07, 37.66, -41.90)
CIE-LCHlch(18.07, 56.33, 311.95°)
OKLaboklab(31.08% 0.0686 -0.1198)
OKLCHoklch(31.08% 0.138 299.8)
XYZxyz(4.7755, 2.5330, 13.8702)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D146A #416A14
analogous
#14166A #3D146A #68146A
triadic
#3D146A #6A3D14 #146A3D
tetradic
#3D146A #6A1416 #416A14 #146A68
square
#3D146A #6A1416 #416A14 #146A68
split-complementary
#3D146A #6A6814 #166A14
monochromatic
#0F051A #1F0A37 #3D146A #5B1E9D #7827D1

Accessibility & contrast

On white

13.94
#3D146A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#3D146A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D146A
13.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D146A#FFFFFF#000000##FFFFFF
##3D146A1.0013.941.5113.94
#FFFFFF13.941.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6C
Deuteranopia (green-blind)
#002B68
Tritanopia (blue-blind)
#322B3E
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #3d146a;
/* rgb */ color: rgb(61, 20, 106);
/* oklch */ color: oklch(31.1% 0.138 299.8);
Tailwind
colors: {
  custom: {
    50: '#785795',
    500: '#3d146a',
    950: '#000000',
  },
}
SCSS
$custom: #3d146a;
$custom-light: #785795;
$custom-dark: #000000;
JSON
{
  "hex": "#3d146a",
  "rgb": {
    "r": 61,
    "g": 20,
    "b": 106
  },
  "hsl": {
    "h": 268.605,
    "s": 68.254,
    "l": 24.706
  },
  "oklch": {
    "l": 0.31076,
    "c": 0.13802,
    "h": 299.8
  },
  "luminance": 0.02533
}

Semantic roles & 50–950 ramp

primary
#3D146A
secondary
#6FA139
accent
#EB3D98
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3D146A

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

Preview Lab → · Contrast checker → · Palette generator →

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