#3A0346#3A0346

#3A0346 is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.7% C 0.118 H 319.2°. Best body text is #FFFFFF at 16.39:1 contrast (WCAG AA passes).

Color values

HEX#3A0346
RGBrgb(58, 3, 70)
HSLhsl(289, 92%, 14%)
HSVhsv(289, 96%, 27%)
CMYKcmyk(17.1%, 95.7%, 0%, 72.5%)
CIE-LABlab(12.00, 35.22, -27.45)
CIE-LCHlch(12.00, 44.66, 322.06°)
OKLaboklab(25.74% 0.0897 -0.0773)
OKLCHoklch(25.74% 0.118 319.2)
XYZxyz(2.8828, 1.4070, 5.9129)
Luminance0.0141 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0346 #0F4603
analogous
#190346 #3A0346 #460331
triadic
#3A0346 #463A03 #03463A
tetradic
#3A0346 #461903 #0F4603 #033146
square
#3A0346 #461903 #0F4603 #033146
split-complementary
#3A0346 #314603 #034619
monochromatic
#18011D #18011D #3A0346 #6B0681 #9B08BB

Accessibility & contrast

On white

16.39
#3A0346 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A0346
16.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0346#FFFFFF#000000##FFFFFF
##3A03461.0016.391.2816.39
#FFFFFF16.391.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C48
Deuteranopia (green-blind)
#082145
Tritanopia (blue-blind)
#3A1326
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #3a0346;
/* rgb */ color: rgb(58, 3, 70);
/* oklch */ color: oklch(25.7% 0.118 319.2);
Tailwind
colors: {
  custom: {
    50: '#734d7a',
    500: '#3a0346',
    950: '#000000',
  },
}
SCSS
$custom: #3a0346;
$custom-light: #734d7a;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0346",
  "rgb": {
    "r": 58,
    "g": 3,
    "b": 70
  },
  "hsl": {
    "h": 289.254,
    "s": 91.781,
    "l": 14.314
  },
  "oklch": {
    "l": 0.25737,
    "c": 0.11843,
    "h": 319.2
  },
  "luminance": 0.01407
}

Semantic roles & 50–950 ramp

primary
#3A0346
secondary
#30871D
accent
#FF294F
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080209
muted
#7B787B

Preview Lab

Preview with #3A0346

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

Preview Lab → · Contrast checker → · Palette generator →

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