#3A063C#3A063C

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

Color values

HEX#3A063C
RGBrgb(58, 6, 60)
HSLhsl(298, 82%, 13%)
HSVhsv(298, 90%, 24%)
CMYKcmyk(3.3%, 90%, 0%, 76.5%)
CIE-LABlab(11.66, 31.91, -20.92)
CIE-LCHlch(11.66, 38.16, 326.75°)
OKLaboklab(25.25% 0.0879 -0.0582)
OKLCHoklch(25.25% 0.105 326.5)
XYZxyz(2.6256, 1.3562, 4.3976)
Luminance0.0136 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A063C #083C06
analogous
#1F063C #3A063C #3C0623
triadic
#3A063C #3C3A06 #063C3A
tetradic
#3A063C #3C1F06 #083C06 #06233C
square
#3A063C #3C1F06 #083C06 #06233C
split-complementary
#3A063C #233C06 #063C1F
monochromatic
#1B031C #1B031C #3A063C #700C74 #A611AB

Accessibility & contrast

On white

16.52
#3A063C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A063C
16.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A063C#FFFFFF#000000##FFFFFF
##3A063C1.0016.521.2716.52
#FFFFFF16.521.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B3D
Deuteranopia (green-blind)
#14213B
Tritanopia (blue-blind)
#3C1021
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #3a063c;
/* rgb */ color: rgb(58, 6, 60);
/* oklch */ color: oklch(25.3% 0.105 326.5);
Tailwind
colors: {
  custom: {
    50: '#734d72',
    500: '#3a063c',
    950: '#000000',
  },
}
SCSS
$custom: #3a063c;
$custom-light: #734d72;
$custom-dark: #000000;
JSON
{
  "hex": "#3a063c",
  "rgb": {
    "r": 58,
    "g": 6,
    "b": 60
  },
  "hsl": {
    "h": 297.778,
    "s": 81.818,
    "l": 12.941
  },
  "oklch": {
    "l": 0.2525,
    "c": 0.10541,
    "h": 326.5
  },
  "luminance": 0.01356
}

Semantic roles & 50–950 ramp

primary
#3A063C
secondary
#257C22
accent
#F83037
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#080208
muted
#7B787B

Preview Lab

Preview with #3A063C

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

Preview Lab → · Contrast checker → · Palette generator →

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