#3D147D#3D147D

#3D147D is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.9% C 0.159 H 293.0°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#3D147D
RGBrgb(61, 20, 125)
HSLhsl(263, 72%, 28%)
HSVhsv(263, 84%, 49%)
CMYKcmyk(51.2%, 84%, 0%, 51%)
CIE-LABlab(19.93, 42.80, -51.09)
CIE-LCHlch(19.93, 66.65, 309.96°)
OKLaboklab(32.95% 0.0623 -0.1467)
OKLCHoklch(32.95% 0.159 293)
XYZxyz(5.8753, 2.9729, 19.6623)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D147D #547D14
analogous
#141F7D #3D147D #71147D
triadic
#3D147D #7D3D14 #147D3D
tetradic
#3D147D #7D141F #547D14 #147D71
square
#3D147D #7D141F #547D14 #147D71
split-complementary
#3D147D #7D7114 #1F7D14
monochromatic
#0D041A #230C48 #3D147D #571CB2 #722EDE

Accessibility & contrast

On white

13.17
#3D147D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#3D147D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D147D
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D147D#FFFFFF#000000##FFFFFF
##3D147D1.0013.171.5913.17
#FFFFFF13.171.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003180
Deuteranopia (green-blind)
#002E7B
Tritanopia (blue-blind)
#283349
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #3d147d;
/* rgb */ color: rgb(61, 20, 125);
/* oklch */ color: oklch(32.9% 0.159 293.0);
Tailwind
colors: {
  custom: {
    50: '#7a58a4',
    500: '#3d147d',
    950: '#000000',
  },
}
SCSS
$custom: #3d147d;
$custom-light: #7a58a4;
$custom-dark: #000000;
JSON
{
  "hex": "#3d147d",
  "rgb": {
    "r": 61,
    "g": 20,
    "b": 125
  },
  "hsl": {
    "h": 263.429,
    "s": 72.414,
    "l": 28.431
  },
  "oklch": {
    "l": 0.32945,
    "c": 0.15939,
    "h": 293
  },
  "luminance": 0.02973
}

Semantic roles & 50–950 ramp

primary
#3D147D
secondary
#84B23A
accent
#EF39A8
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #3D147D

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

Preview Lab → · Contrast checker → · Palette generator →

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