#3D146D#3D146D

#3D146D is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.4% C 0.141 H 298.6°. Best body text is #FFFFFF at 13.82:1 contrast (WCAG AA passes).

Color values

HEX#3D146D
RGBrgb(61, 20, 109)
HSLhsl(268, 69%, 25%)
HSVhsv(268, 82%, 43%)
CMYKcmyk(44%, 81.7%, 0%, 57.3%)
CIE-LABlab(18.35, 38.46, -43.39)
CIE-LCHlch(18.35, 57.98, 311.55°)
OKLaboklab(31.36% 0.0677 -0.1241)
OKLCHoklch(31.36% 0.141 298.6)
XYZxyz(4.9342, 2.5965, 14.7062)
Luminance0.0260 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D146D #446D14
analogous
#14186D #3D146D #69146D
triadic
#3D146D #6D3D14 #146D3D
tetradic
#3D146D #6D1418 #446D14 #146D69
square
#3D146D #6D1418 #446D14 #146D69
split-complementary
#3D146D #6D6914 #186D14
monochromatic
#0E051A #200B39 #3D146D #5A1DA1 #7727D4

Accessibility & contrast

On white

13.82
#3D146D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D146D
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D146D#FFFFFF#000000##FFFFFF
##3D146D1.0013.821.5213.82
#FFFFFF13.821.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3d146d;
/* rgb */ color: rgb(61, 20, 109);
/* oklch */ color: oklch(31.4% 0.141 298.6);
Tailwind
colors: {
  custom: {
    50: '#785798',
    500: '#3d146d',
    950: '#000000',
  },
}
SCSS
$custom: #3d146d;
$custom-light: #785798;
$custom-dark: #000000;
JSON
{
  "hex": "#3d146d",
  "rgb": {
    "r": 61,
    "g": 20,
    "b": 109
  },
  "hsl": {
    "h": 267.64,
    "s": 68.992,
    "l": 25.294
  },
  "oklch": {
    "l": 0.31361,
    "c": 0.14141,
    "h": 298.6
  },
  "luminance": 0.02597
}

Semantic roles & 50–950 ramp

primary
#3D146D
secondary
#73A439
accent
#EC3C9B
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #3D146D

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

Preview Lab → · Contrast checker → · Palette generator →

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