#3D145D#3D145D

#3D145D is a dark, vivid violet. Relative luminance 0.023; OKLCH L 29.9% C 0.123 H 305.7°. Best body text is #FFFFFF at 14.42:1 contrast (WCAG AA passes).

Color values

HEX#3D145D
RGBrgb(61, 20, 93)
HSLhsl(274, 65%, 22%)
HSVhsv(274, 78%, 36%)
CMYKcmyk(34.4%, 78.5%, 0%, 63.5%)
CIE-LABlab(16.91, 34.23, -35.20)
CIE-LCHlch(16.91, 49.10, 314.20°)
OKLaboklab(29.9% 0.0719 -0.1001)
OKLCHoklch(29.9% 0.123 305.7)
XYZxyz(4.1500, 2.2828, 10.5758)
Luminance0.0228 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D145D #345D14
analogous
#19145D #3D145D #5D1459
triadic
#3D145D #5D3D14 #145D3D
tetradic
#3D145D #5D1914 #345D14 #14595D
square
#3D145D #5D1914 #345D14 #14595D
split-complementary
#3D145D #595D14 #145D19
monochromatic
#110519 #1C092B #3D145D #5E1F8F #7F2AC2

Accessibility & contrast

On white

14.42
#3D145D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#3D145D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D145D
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D145D#FFFFFF#000000##FFFFFF
##3D145D1.0014.421.4614.42
#FFFFFF14.421.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295F
Deuteranopia (green-blind)
#002A5B
Tritanopia (blue-blind)
#372637
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #3d145d;
/* rgb */ color: rgb(61, 20, 93);
/* oklch */ color: oklch(29.9% 0.123 305.7);
Tailwind
colors: {
  custom: {
    50: '#76568b',
    500: '#3d145d',
    950: '#000000',
  },
}
SCSS
$custom: #3d145d;
$custom-light: #76568b;
$custom-dark: #000000;
JSON
{
  "hex": "#3d145d",
  "rgb": {
    "r": 61,
    "g": 20,
    "b": 93
  },
  "hsl": {
    "h": 273.699,
    "s": 64.602,
    "l": 22.157
  },
  "oklch": {
    "l": 0.29898,
    "c": 0.12324,
    "h": 305.7
  },
  "luminance": 0.02283
}

Semantic roles & 50–950 ramp

primary
#3D145D
secondary
#619538
accent
#E8408A
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3D145D

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

Preview Lab → · Contrast checker → · Palette generator →

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