#3A083A#3A083A

#3A083A is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.3% C 0.101 H 328.1°. Best body text is #FFFFFF at 16.46:1 contrast (WCAG AA passes).

Color values

HEX#3A083A
RGBrgb(58, 8, 58)
HSLhsl(300, 76%, 13%)
HSVhsv(300, 86%, 23%)
CMYKcmyk(0%, 86.2%, 0%, 77.3%)
CIE-LABlab(11.82, 30.67, -19.25)
CIE-LCHlch(11.82, 36.21, 327.89°)
OKLaboklab(25.31% 0.0856 -0.0534)
OKLCHoklch(25.31% 0.101 328.1)
XYZxyz(2.5954, 1.3789, 4.1316)
Luminance0.0138 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A083A #083A08
analogous
#21083A #3A083A #3A0821
triadic
#3A083A #3A3A08 #083A3A
tetradic
#3A083A #3A2108 #083A08 #08213A
square
#3A083A #3A2108 #083A08 #08213A
split-complementary
#3A083A #213A08 #083A21
monochromatic
#1B041B #1B041B #3A083A #700F70 #A617A6

Accessibility & contrast

On white

16.46
#3A083A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#3A083A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A083A
16.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A083A#FFFFFF#000000##FFFFFF
##3A083A1.0016.461.2816.46
#FFFFFF16.461.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011B3B
Deuteranopia (green-blind)
#162139
Tritanopia (blue-blind)
#3C1020
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #3a083a;
/* rgb */ color: rgb(58, 8, 58);
/* oklch */ color: oklch(25.3% 0.101 328.1);
Tailwind
colors: {
  custom: {
    50: '#724e70',
    500: '#3a083a',
    950: '#000000',
  },
}
SCSS
$custom: #3a083a;
$custom-light: #724e70;
$custom-dark: #000000;
JSON
{
  "hex": "#3a083a",
  "rgb": {
    "r": 58,
    "g": 8,
    "b": 58
  },
  "hsl": {
    "h": 300,
    "s": 75.758,
    "l": 12.941
  },
  "oklch": {
    "l": 0.25314,
    "c": 0.10086,
    "h": 328.1
  },
  "luminance": 0.01379
}

Semantic roles & 50–950 ramp

primary
#3A083A
secondary
#257925
accent
#F23535
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#080207
muted
#7B787A

Preview Lab

Preview with #3A083A

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

Preview Lab → · Contrast checker → · Palette generator →

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