#3A063D#3A063D

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

Color values

HEX#3A063D
RGBrgb(58, 6, 61)
HSLhsl(297, 82%, 13%)
HSVhsv(297, 90%, 24%)
CMYKcmyk(4.9%, 90.2%, 0%, 76.1%)
CIE-LABlab(11.74, 32.11, -21.52)
CIE-LCHlch(11.74, 38.65, 326.16°)
OKLaboklab(25.32% 0.0878 -0.06)
OKLCHoklch(25.32% 0.106 325.7)
XYZxyz(2.6523, 1.3669, 4.5381)
Luminance0.0137 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A063D #093D06
analogous
#1E063D #3A063D #3D0624
triadic
#3A063D #3D3A06 #063D3A
tetradic
#3A063D #3D1E06 #093D06 #06243D
square
#3A063D #3D1E06 #093D06 #06243D
split-complementary
#3A063D #243D06 #063D1E
monochromatic
#1A031C #1A031C #3A063D #6F0B75 #A411AC

Accessibility & contrast

On white

16.49
#3A063D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A063D
16.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A063D#FFFFFF#000000##FFFFFF
##3A063D1.0016.491.2716.49
#FFFFFF16.491.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B3E
Deuteranopia (green-blind)
#13213C
Tritanopia (blue-blind)
#3C1022
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #3a063d;
/* rgb */ color: rgb(58, 6, 61);
/* oklch */ color: oklch(25.3% 0.106 325.7);
Tailwind
colors: {
  custom: {
    50: '#734d73',
    500: '#3a063d',
    950: '#000000',
  },
}
SCSS
$custom: #3a063d;
$custom-light: #734d73;
$custom-dark: #000000;
JSON
{
  "hex": "#3a063d",
  "rgb": {
    "r": 58,
    "g": 6,
    "b": 61
  },
  "hsl": {
    "h": 296.727,
    "s": 82.09,
    "l": 13.137
  },
  "oklch": {
    "l": 0.25324,
    "c": 0.10632,
    "h": 325.7
  },
  "luminance": 0.01367
}

Semantic roles & 50–950 ramp

primary
#3A063D
secondary
#277D22
accent
#F82F3A
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #3A063D

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

Preview Lab → · Contrast checker → · Palette generator →

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