#3A063B#3A063B

#3A063B is a dark, moderate purple. Relative luminance 0.013; OKLCH L 25.2% C 0.105 H 327.3°. Best body text is #FFFFFF at 16.55:1 contrast (WCAG AA passes).

Color values

HEX#3A063B
RGBrgb(58, 6, 59)
HSLhsl(299, 82%, 13%)
HSVhsv(299, 90%, 23%)
CMYKcmyk(1.7%, 89.8%, 0%, 76.9%)
CIE-LABlab(11.59, 31.71, -20.32)
CIE-LCHlch(11.59, 37.67, 327.35°)
OKLaboklab(25.18% 0.0879 -0.0565)
OKLCHoklch(25.18% 0.105 327.3)
XYZxyz(2.5994, 1.3457, 4.2597)
Luminance0.0135 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A063B #073B06
analogous
#1F063B #3A063B #3B0621
triadic
#3A063B #3B3A06 #063B3A
tetradic
#3A063B #3B1F06 #073B06 #06213B
square
#3A063B #3B1F06 #073B06 #06213B
split-complementary
#3A063B #213B06 #063B1F
monochromatic
#1B031C #1B031C #3A063B #710C73 #A711AA

Accessibility & contrast

On white

16.55
#3A063B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A063B
16.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A063B#FFFFFF#000000##FFFFFF
##3A063B1.0016.551.2716.55
#FFFFFF16.551.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3C
Deuteranopia (green-blind)
#14213A
Tritanopia (blue-blind)
#3C0F20
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #3a063b;
/* rgb */ color: rgb(58, 6, 59);
/* oklch */ color: oklch(25.2% 0.105 327.3);
Tailwind
colors: {
  custom: {
    50: '#734d71',
    500: '#3a063b',
    950: '#000000',
  },
}
SCSS
$custom: #3a063b;
$custom-light: #734d71;
$custom-dark: #000000;
JSON
{
  "hex": "#3a063b",
  "rgb": {
    "r": 58,
    "g": 6,
    "b": 59
  },
  "hsl": {
    "h": 298.868,
    "s": 81.538,
    "l": 12.745
  },
  "oklch": {
    "l": 0.25176,
    "c": 0.10451,
    "h": 327.3
  },
  "luminance": 0.01346
}

Semantic roles & 50–950 ramp

primary
#3A063B
secondary
#237B22
accent
#F83034
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#080207
muted
#7B787A

Preview Lab

Preview with #3A063B

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

Preview Lab → · Contrast checker → · Palette generator →

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