#3A063F#3A063F

#3A063F is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.5% C 0.108 H 324.1°. Best body text is #FFFFFF at 16.43:1 contrast (WCAG AA passes).

Color values

HEX#3A063F
RGBrgb(58, 6, 63)
HSLhsl(295, 83%, 14%)
HSVhsv(295, 90%, 25%)
CMYKcmyk(7.9%, 90.5%, 0%, 75.3%)
CIE-LABlab(11.88, 32.51, -22.71)
CIE-LCHlch(11.88, 39.66, 325.06°)
OKLaboklab(25.48% 0.0876 -0.0634)
OKLCHoklch(25.48% 0.108 324.1)
XYZxyz(2.7072, 1.3888, 4.8271)
Luminance0.0139 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A063F #0B3F06
analogous
#1D063F #3A063F #3F0627
triadic
#3A063F #3F3A06 #063F3A
tetradic
#3A063F #3F1D06 #0B3F06 #06273F
square
#3A063F #3F1D06 #0B3F06 #06273F
split-complementary
#3A063F #273F06 #063F1D
monochromatic
#1A031C #1A031C #3A063F #6D0B77 #A111AF

Accessibility & contrast

On white

16.43
#3A063F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A063F
16.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A063F#FFFFFF#000000##FFFFFF
##3A063F1.0016.431.2816.43
#FFFFFF16.431.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B40
Deuteranopia (green-blind)
#11213E
Tritanopia (blue-blind)
#3B1123
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #3a063f;
/* rgb */ color: rgb(58, 6, 63);
/* oklch */ color: oklch(25.5% 0.108 324.1);
Tailwind
colors: {
  custom: {
    50: '#734d74',
    500: '#3a063f',
    950: '#000000',
  },
}
SCSS
$custom: #3a063f;
$custom-light: #734d74;
$custom-dark: #000000;
JSON
{
  "hex": "#3a063f",
  "rgb": {
    "r": 58,
    "g": 6,
    "b": 63
  },
  "hsl": {
    "h": 294.737,
    "s": 82.609,
    "l": 13.529
  },
  "oklch": {
    "l": 0.25476,
    "c": 0.10815,
    "h": 324.1
  },
  "luminance": 0.01389
}

Semantic roles & 50–950 ramp

primary
#3A063F
secondary
#2A7F22
accent
#F92F41
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #3A063F

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

Preview Lab → · Contrast checker → · Palette generator →

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