#3D146B#3D146B

#3D146B is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.2% C 0.139 H 299.4°. Best body text is #FFFFFF at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#3D146B
RGBrgb(61, 20, 107)
HSLhsl(268, 69%, 25%)
HSVhsv(268, 81%, 42%)
CMYKcmyk(43%, 81.3%, 0%, 58%)
CIE-LABlab(18.16, 37.93, -42.40)
CIE-LCHlch(18.16, 56.89, 311.82°)
OKLaboklab(31.17% 0.0683 -0.1212)
OKLCHoklch(31.17% 0.139 299.4)
XYZxyz(4.8278, 2.5539, 14.1457)
Luminance0.0255 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D146B #426B14
analogous
#14166B #3D146B #69146B
triadic
#3D146B #6B3D14 #146B3D
tetradic
#3D146B #6B1416 #426B14 #146B69
square
#3D146B #6B1416 #426B14 #146B69
split-complementary
#3D146B #6B6914 #166B14
monochromatic
#0F051A #200A37 #3D146B #5A1E9F #7827D2

Accessibility & contrast

On white

13.90
#3D146B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D146B
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D146B#FFFFFF#000000##FFFFFF
##3D146B1.0013.901.5113.90
#FFFFFF13.901.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6D
Deuteranopia (green-blind)
#002C69
Tritanopia (blue-blind)
#322B3F
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #3d146b;
/* rgb */ color: rgb(61, 20, 107);
/* oklch */ color: oklch(31.2% 0.139 299.4);
Tailwind
colors: {
  custom: {
    50: '#785796',
    500: '#3d146b',
    950: '#000000',
  },
}
SCSS
$custom: #3d146b;
$custom-light: #785796;
$custom-dark: #000000;
JSON
{
  "hex": "#3d146b",
  "rgb": {
    "r": 61,
    "g": 20,
    "b": 107
  },
  "hsl": {
    "h": 268.276,
    "s": 68.504,
    "l": 24.902
  },
  "oklch": {
    "l": 0.31171,
    "c": 0.13915,
    "h": 299.4
  },
  "luminance": 0.02554
}

Semantic roles & 50–950 ramp

primary
#3D146B
secondary
#70A239
accent
#EB3C99
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3D146B

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

Preview Lab → · Contrast checker → · Palette generator →

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