#3A063A#3A063A

#3A063A is a dark, moderate purple. Relative luminance 0.013; OKLCH L 25.1% C 0.104 H 328.1°. Best body text is #FFFFFF at 16.57:1 contrast (WCAG AA passes).

Color values

HEX#3A063A
RGBrgb(58, 6, 58)
HSLhsl(300, 81%, 13%)
HSVhsv(300, 90%, 23%)
CMYKcmyk(0%, 89.7%, 0%, 77.3%)
CIE-LABlab(11.52, 31.52, -19.72)
CIE-LCHlch(11.52, 37.18, 327.97°)
OKLaboklab(25.1% 0.088 -0.0547)
OKLCHoklch(25.1% 0.104 328.1)
XYZxyz(2.5737, 1.3355, 4.1244)
Luminance0.0134 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A063A #063A06
analogous
#20063A #3A063A #3A0620
triadic
#3A063A #3A3A06 #063A3A
tetradic
#3A063A #3A2006 #063A06 #06203A
square
#3A063A #3A2006 #063A06 #06203A
split-complementary
#3A063A #203A06 #063A20
monochromatic
#1C031C #1C031C #3A063A #710C71 #A911A9

Accessibility & contrast

On white

16.57
#3A063A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#3A063A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A063A
16.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A063A#FFFFFF#000000##FFFFFF
##3A063A1.0016.571.2716.57
#FFFFFF16.571.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3B
Deuteranopia (green-blind)
#152139
Tritanopia (blue-blind)
#3C0F20
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #3a063a;
/* rgb */ color: rgb(58, 6, 58);
/* oklch */ color: oklch(25.1% 0.104 328.1);
Tailwind
colors: {
  custom: {
    50: '#734d70',
    500: '#3a063a',
    950: '#000000',
  },
}
SCSS
$custom: #3a063a;
$custom-light: #734d70;
$custom-dark: #000000;
JSON
{
  "hex": "#3a063a",
  "rgb": {
    "r": 58,
    "g": 6,
    "b": 58
  },
  "hsl": {
    "h": 300,
    "s": 81.25,
    "l": 12.549
  },
  "oklch": {
    "l": 0.25104,
    "c": 0.10362,
    "h": 328.1
  },
  "luminance": 0.01335
}

Semantic roles & 50–950 ramp

primary
#3A063A
secondary
#227A22
accent
#F83030
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#080207
muted
#7B787A

Preview Lab

Preview with #3A063A

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

Preview Lab → · Contrast checker → · Palette generator →

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