#3A1045#3A1045

#3A1045 is a dark, moderate purple. Relative luminance 0.017; OKLCH L 27.0% C 0.101 H 318.5°. Best body text is #FFFFFF at 15.67:1 contrast (WCAG AA passes).

Color values

HEX#3A1045
RGBrgb(58, 16, 69)
HSLhsl(288, 62%, 17%)
HSVhsv(288, 77%, 27%)
CMYKcmyk(15.9%, 76.8%, 0%, 72.9%)
CIE-LABlab(13.83, 29.53, -23.82)
CIE-LCHlch(13.83, 37.94, 321.10°)
OKLaboklab(27% 0.0756 -0.0668)
OKLCHoklch(27% 0.101 318.5)
XYZxyz(3.0042, 1.6999, 5.7989)
Luminance0.0170 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A1045 #1B4510
analogous
#201045 #3A1045 #451036
triadic
#3A1045 #453A10 #10453A
tetradic
#3A1045 #452010 #1B4510 #103645
square
#3A1045 #452010 #1B4510 #103645
split-complementary
#3A1045 #364510 #104520
monochromatic
#150619 #150619 #3A1045 #641C77 #8E27A8

Accessibility & contrast

On white

15.67
#3A1045 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#3A1045 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A1045
15.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A1045#FFFFFF#000000##FFFFFF
##3A10451.0015.671.3415.67
#FFFFFF15.671.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002147
Deuteranopia (green-blind)
#132544
Tritanopia (blue-blind)
#3A1A29
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #3a1045;
/* rgb */ color: rgb(58, 16, 69);
/* oklch */ color: oklch(27.0% 0.101 318.5);
Tailwind
colors: {
  custom: {
    50: '#725279',
    500: '#3a1045',
    950: '#000000',
  },
}
SCSS
$custom: #3a1045;
$custom-light: #725279;
$custom-dark: #000000;
JSON
{
  "hex": "#3a1045",
  "rgb": {
    "r": 58,
    "g": 16,
    "b": 69
  },
  "hsl": {
    "h": 287.547,
    "s": 62.353,
    "l": 16.667
  },
  "oklch": {
    "l": 0.27001,
    "c": 0.10083,
    "h": 318.5
  },
  "luminance": 0.017
}

Semantic roles & 50–950 ramp

primary
#3A1045
secondary
#427F32
accent
#E54264
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080209
muted
#7B787B

Preview Lab

Preview with #3A1045

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

Preview Lab → · Contrast checker → · Palette generator →

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