#3A0943#3A0943

#3A0943 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 26.1% C 0.108 H 320.8°. Best body text is #FFFFFF at 16.15:1 contrast (WCAG AA passes).

Color values

HEX#3A0943
RGBrgb(58, 9, 67)
HSLhsl(291, 76%, 15%)
HSVhsv(291, 87%, 26%)
CMYKcmyk(13.4%, 86.6%, 0%, 73.7%)
CIE-LABlab(12.61, 32.12, -24.37)
CIE-LCHlch(12.61, 40.32, 322.81°)
OKLaboklab(26.09% 0.0838 -0.0683)
OKLCHoklch(26.09% 0.108 320.8)
XYZxyz(2.8556, 1.5003, 5.4483)
Luminance0.0150 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0943 #124309
analogous
#1D0943 #3A0943 #43092F
triadic
#3A0943 #433A09 #09433A
tetradic
#3A0943 #431D09 #124309 #092F43
square
#3A0943 #431D09 #124309 #092F43
split-complementary
#3A0943 #2F4309 #09431D
monochromatic
#17041B #17041B #3A0943 #691079 #9717AF

Accessibility & contrast

On white

16.15
#3A0943 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#3A0943 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A0943
16.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0943#FFFFFF#000000##FFFFFF
##3A09431.0016.151.3016.15
#FFFFFF16.151.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D45
Deuteranopia (green-blind)
#102242
Tritanopia (blue-blind)
#3A1526
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #3a0943;
/* rgb */ color: rgb(58, 9, 67);
/* oklch */ color: oklch(26.1% 0.108 320.8);
Tailwind
colors: {
  custom: {
    50: '#734f77',
    500: '#3a0943',
    950: '#000000',
  },
}
SCSS
$custom: #3a0943;
$custom-light: #734f77;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0943",
  "rgb": {
    "r": 58,
    "g": 9,
    "b": 67
  },
  "hsl": {
    "h": 290.69,
    "s": 76.316,
    "l": 14.902
  },
  "oklch": {
    "l": 0.26087,
    "c": 0.10811,
    "h": 320.8
  },
  "luminance": 0.015
}

Semantic roles & 50–950 ramp

primary
#3A0943
secondary
#358127
accent
#F33552
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080209
muted
#7B787B

Preview Lab

Preview with #3A0943

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

Preview Lab → · Contrast checker → · Palette generator →

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