#3D145C#3D145C

#3D145C is a dark, vivid violet. Relative luminance 0.023; OKLCH L 29.8% C 0.122 H 306.2°. Best body text is #FFFFFF at 14.45:1 contrast (WCAG AA passes).

Color values

HEX#3D145C
RGBrgb(61, 20, 92)
HSLhsl(274, 64%, 22%)
HSVhsv(274, 78%, 36%)
CMYKcmyk(33.7%, 78.3%, 0%, 63.9%)
CIE-LABlab(16.82, 33.97, -34.67)
CIE-LCHlch(16.82, 48.54, 314.41°)
OKLaboklab(29.81% 0.0721 -0.0985)
OKLCHoklch(29.81% 0.122 306.2)
XYZxyz(4.1060, 2.2652, 10.3441)
Luminance0.0226 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D145C #335C14
analogous
#19145C #3D145C #5C1457
triadic
#3D145C #5C3D14 #145C3D
tetradic
#3D145C #5C1914 #335C14 #14575C
square
#3D145C #5C1914 #335C14 #14575C
split-complementary
#3D145C #575C14 #145C19
monochromatic
#110519 #1C092A #3D145C #5E1F8E #802AC1

Accessibility & contrast

On white

14.45
#3D145C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#3D145C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D145C
14.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D145C#FFFFFF#000000##FFFFFF
##3D145C1.0014.451.4514.45
#FFFFFF14.451.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285E
Deuteranopia (green-blind)
#002A5B
Tritanopia (blue-blind)
#382537
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #3d145c;
/* rgb */ color: rgb(61, 20, 92);
/* oklch */ color: oklch(29.8% 0.122 306.2);
Tailwind
colors: {
  custom: {
    50: '#76568b',
    500: '#3d145c',
    950: '#000000',
  },
}
SCSS
$custom: #3d145c;
$custom-light: #76568b;
$custom-dark: #000000;
JSON
{
  "hex": "#3d145c",
  "rgb": {
    "r": 61,
    "g": 20,
    "b": 92
  },
  "hsl": {
    "h": 274.167,
    "s": 64.286,
    "l": 21.961
  },
  "oklch": {
    "l": 0.29812,
    "c": 0.1221,
    "h": 306.2
  },
  "luminance": 0.02265
}

Semantic roles & 50–950 ramp

primary
#3D145C
secondary
#609438
accent
#E74188
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3D145C

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

Preview Lab → · Contrast checker → · Palette generator →

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