#3D145A#3D145A

#3D145A is a dark, moderate violet. Relative luminance 0.022; OKLCH L 29.6% C 0.120 H 307.2°. Best body text is #FFFFFF at 14.52:1 contrast (WCAG AA passes).

Color values

HEX#3D145A
RGBrgb(61, 20, 90)
HSLhsl(275, 64%, 22%)
HSVhsv(275, 78%, 35%)
CMYKcmyk(32.2%, 77.8%, 0%, 64.7%)
CIE-LABlab(16.65, 33.45, -33.60)
CIE-LCHlch(16.65, 47.42, 314.87°)
OKLaboklab(29.64% 0.0725 -0.0954)
OKLCHoklch(29.64% 0.12 307.2)
XYZxyz(4.0197, 2.2306, 9.8897)
Luminance0.0223 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D145A #315A14
analogous
#1A145A #3D145A #5A1454
triadic
#3D145A #5A3D14 #145A3D
tetradic
#3D145A #5A1A14 #315A14 #14545A
square
#3D145A #5A1A14 #315A14 #14545A
split-complementary
#3D145A #545A14 #145A1A
monochromatic
#110619 #1B0928 #3D145A #5F1F8C #812ABE

Accessibility & contrast

On white

14.52
#3D145A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D145A
14.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D145A#FFFFFF#000000##FFFFFF
##3D145A1.0014.521.4514.52
#FFFFFF14.521.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285C
Deuteranopia (green-blind)
#002959
Tritanopia (blue-blind)
#382435
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #3d145a;
/* rgb */ color: rgb(61, 20, 90);
/* oklch */ color: oklch(29.6% 0.120 307.2);
Tailwind
colors: {
  custom: {
    50: '#765689',
    500: '#3d145a',
    950: '#000000',
  },
}
SCSS
$custom: #3d145a;
$custom-light: #765689;
$custom-dark: #000000;
JSON
{
  "hex": "#3d145a",
  "rgb": {
    "r": 61,
    "g": 20,
    "b": 90
  },
  "hsl": {
    "h": 275.143,
    "s": 63.636,
    "l": 21.569
  },
  "oklch": {
    "l": 0.2964,
    "c": 0.11981,
    "h": 307.2
  },
  "luminance": 0.02231
}

Semantic roles & 50–950 ramp

primary
#3D145A
secondary
#5D9238
accent
#E74186
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3D145A

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

Preview Lab → · Contrast checker → · Palette generator →

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