#3D145B#3D145B

#3D145B is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.7% C 0.121 H 306.7°. Best body text is #FFFFFF at 14.49:1 contrast (WCAG AA passes).

Color values

HEX#3D145B
RGBrgb(61, 20, 91)
HSLhsl(275, 64%, 22%)
HSVhsv(275, 78%, 36%)
CMYKcmyk(33%, 78%, 0%, 64.3%)
CIE-LABlab(16.74, 33.71, -34.14)
CIE-LCHlch(16.74, 47.98, 314.64°)
OKLaboklab(29.73% 0.0723 -0.097)
OKLCHoklch(29.73% 0.121 306.7)
XYZxyz(4.0625, 2.2478, 10.1153)
Luminance0.0225 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D145B #325B14
analogous
#1A145B #3D145B #5B1456
triadic
#3D145B #5B3D14 #145B3D
tetradic
#3D145B #5B1A14 #325B14 #14565B
square
#3D145B #5B1A14 #325B14 #14565B
split-complementary
#3D145B #565B14 #145B1A
monochromatic
#110619 #1B0929 #3D145B #5F1F8D #802ABF

Accessibility & contrast

On white

14.49
#3D145B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D145B
14.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D145B#FFFFFF#000000##FFFFFF
##3D145B1.0014.491.4514.49
#FFFFFF14.491.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285D
Deuteranopia (green-blind)
#002A5A
Tritanopia (blue-blind)
#382536
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #3d145b;
/* rgb */ color: rgb(61, 20, 91);
/* oklch */ color: oklch(29.7% 0.121 306.7);
Tailwind
colors: {
  custom: {
    50: '#76568a',
    500: '#3d145b',
    950: '#000000',
  },
}
SCSS
$custom: #3d145b;
$custom-light: #76568a;
$custom-dark: #000000;
JSON
{
  "hex": "#3d145b",
  "rgb": {
    "r": 61,
    "g": 20,
    "b": 91
  },
  "hsl": {
    "h": 274.648,
    "s": 63.964,
    "l": 21.765
  },
  "oklch": {
    "l": 0.29726,
    "c": 0.12095,
    "h": 306.7
  },
  "luminance": 0.02248
}

Semantic roles & 50–950 ramp

primary
#3D145B
secondary
#5E9338
accent
#E74187
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3D145B

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

Preview Lab → · Contrast checker → · Palette generator →

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