#3A083F#3A083F

#3A083F is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.7% C 0.106 H 323.9°. Best body text is #FFFFFF at 16.32:1 contrast (WCAG AA passes).

Color values

HEX#3A083F
RGBrgb(58, 8, 63)
HSLhsl(295, 77%, 14%)
HSVhsv(295, 87%, 25%)
CMYKcmyk(7.9%, 87.3%, 0%, 75.3%)
CIE-LABlab(12.17, 31.68, -22.25)
CIE-LCHlch(12.17, 38.71, 324.92°)
OKLaboklab(25.68% 0.0853 -0.0621)
OKLCHoklch(25.68% 0.106 323.9)
XYZxyz(2.7289, 1.4323, 4.8344)
Luminance0.0143 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A083F #0D3F08
analogous
#1F083F #3A083F #3F0829
triadic
#3A083F #3F3A08 #083F3A
tetradic
#3A083F #3F1F08 #0D3F08 #08293F
square
#3A083F #3F1F08 #0D3F08 #08293F
split-complementary
#3A083F #293F08 #083F1F
monochromatic
#19031B #19031B #3A083F #6C0F75 #9E16AC

Accessibility & contrast

On white

16.32
#3A083F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#3A083F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A083F
16.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A083F#FFFFFF#000000##FFFFFF
##3A083F1.0016.321.2916.32
#FFFFFF16.321.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C40
Deuteranopia (green-blind)
#13223E
Tritanopia (blue-blind)
#3B1323
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #3a083f;
/* rgb */ color: rgb(58, 8, 63);
/* oklch */ color: oklch(25.7% 0.106 323.9);
Tailwind
colors: {
  custom: {
    50: '#734e74',
    500: '#3a083f',
    950: '#000000',
  },
}
SCSS
$custom: #3a083f;
$custom-light: #734e74;
$custom-dark: #000000;
JSON
{
  "hex": "#3a083f",
  "rgb": {
    "r": 58,
    "g": 8,
    "b": 63
  },
  "hsl": {
    "h": 294.545,
    "s": 77.465,
    "l": 13.922
  },
  "oklch": {
    "l": 0.2568,
    "c": 0.10552,
    "h": 323.9
  },
  "luminance": 0.01432
}

Semantic roles & 50–950 ramp

primary
#3A083F
secondary
#2D7E25
accent
#F43445
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #3A083F

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

Preview Lab → · Contrast checker → · Palette generator →

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