#3D146E#3D146E

#3D146E is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.5% C 0.143 H 298.2°. Best body text is #FFFFFF at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#3D146E
RGBrgb(61, 20, 110)
HSLhsl(267, 69%, 25%)
HSVhsv(267, 82%, 43%)
CMYKcmyk(44.5%, 81.8%, 0%, 56.9%)
CIE-LABlab(18.44, 38.73, -43.89)
CIE-LCHlch(18.44, 58.54, 311.43°)
OKLaboklab(31.46% 0.0674 -0.1256)
OKLCHoklch(31.46% 0.143 298.2)
XYZxyz(4.9884, 2.6181, 14.9914)
Luminance0.0262 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D146E #456E14
analogous
#14186E #3D146E #6A146E
triadic
#3D146E #6E3D14 #146E3D
tetradic
#3D146E #6E1418 #456E14 #146E6A
square
#3D146E #6E1418 #456E14 #146E6A
split-complementary
#3D146E #6E6A14 #186E14
monochromatic
#0E051A #200B3A #3D146E #5A1DA2 #7627D6

Accessibility & contrast

On white

13.78
#3D146E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D146E
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D146E#FFFFFF#000000##FFFFFF
##3D146E1.0013.781.5213.78
#FFFFFF13.781.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D70
Deuteranopia (green-blind)
#002C6C
Tritanopia (blue-blind)
#312D41
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #3d146e;
/* rgb */ color: rgb(61, 20, 110);
/* oklch */ color: oklch(31.5% 0.143 298.2);
Tailwind
colors: {
  custom: {
    50: '#785798',
    500: '#3d146e',
    950: '#000000',
  },
}
SCSS
$custom: #3d146e;
$custom-light: #785798;
$custom-dark: #000000;
JSON
{
  "hex": "#3d146e",
  "rgb": {
    "r": 61,
    "g": 20,
    "b": 110
  },
  "hsl": {
    "h": 267.333,
    "s": 69.231,
    "l": 25.49
  },
  "oklch": {
    "l": 0.31457,
    "c": 0.14255,
    "h": 298.2
  },
  "luminance": 0.02618
}

Semantic roles & 50–950 ramp

primary
#3D146E
secondary
#74A539
accent
#EC3C9C
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #3D146E

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

Preview Lab → · Contrast checker → · Palette generator →

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