#3A084B#3A084B

#3A084B is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.6% C 0.117 H 315.4°. Best body text is #FFFFFF at 15.96:1 contrast (WCAG AA passes).

Color values

HEX#3A084B
RGBrgb(58, 8, 75)
HSLhsl(285, 81%, 16%)
HSVhsv(285, 89%, 29%)
CMYKcmyk(22.7%, 89.3%, 0%, 70.6%)
CIE-LABlab(13.12, 34.28, -29.14)
CIE-LCHlch(13.12, 44.99, 319.63°)
OKLaboklab(26.65% 0.0833 -0.0823)
OKLCHoklch(26.65% 0.117 315.4)
XYZxyz(3.1015, 1.5813, 6.7971)
Luminance0.0158 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A084B #194B08
analogous
#19084B #3A084B #4B083B
triadic
#3A084B #4B3A08 #084B3A
tetradic
#3A084B #4B1908 #194B08 #083B4B
square
#3A084B #4B1908 #194B08 #083B4B
split-complementary
#3A084B #3B4B08 #084B19
monochromatic
#15031C #15031C #3A084B #650E82 #9014BA

Accessibility & contrast

On white

15.96
#3A084B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#3A084B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A084B
15.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A084B#FFFFFF#000000##FFFFFF
##3A084B1.0015.961.3215.96
#FFFFFF15.961.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F4D
Deuteranopia (green-blind)
#05234A
Tritanopia (blue-blind)
#39182A
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #3a084b;
/* rgb */ color: rgb(58, 8, 75);
/* oklch */ color: oklch(26.6% 0.117 315.4);
Tailwind
colors: {
  custom: {
    50: '#734f7e',
    500: '#3a084b',
    950: '#000000',
  },
}
SCSS
$custom: #3a084b;
$custom-light: #734f7e;
$custom-dark: #000000;
JSON
{
  "hex": "#3a084b",
  "rgb": {
    "r": 58,
    "g": 8,
    "b": 75
  },
  "hsl": {
    "h": 284.776,
    "s": 80.723,
    "l": 16.275
  },
  "oklch": {
    "l": 0.26647,
    "c": 0.11713,
    "h": 315.4
  },
  "luminance": 0.01581
}

Semantic roles & 50–950 ramp

primary
#3A084B
secondary
#3F8926
accent
#F73163
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#08020A
muted
#7B787C

Preview Lab

Preview with #3A084B

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

Preview Lab → · Contrast checker → · Palette generator →

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