#3A0734#3A0734

#3A0734 is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.8% C 0.097 H 333.5°. Best body text is #FFFFFF at 16.67:1 contrast (WCAG AA passes).

Color values

HEX#3A0734
RGBrgb(58, 7, 52)
HSLhsl(307, 78%, 13%)
HSVhsv(307, 88%, 23%)
CMYKcmyk(0%, 87.9%, 10.3%, 77.3%)
CIE-LABlab(11.27, 29.96, -15.78)
CIE-LCHlch(11.27, 33.86, 332.23°)
OKLaboklab(24.8% 0.0867 -0.0433)
OKLCHoklch(24.8% 0.097 333.5)
XYZxyz(2.4408, 1.2996, 3.3705)
Luminance0.0130 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0734 #073A0D
analogous
#26073A #3A0734 #3A071A
triadic
#3A0734 #343A07 #07343A
tetradic
#3A0734 #3A2607 #073A0D #071A3A
square
#3A0734 #3A2607 #073A0D #071A3A
split-complementary
#3A0734 #1A3A07 #073A26
monochromatic
#1B0318 #1B0318 #3A0734 #710E65 #A71496

Accessibility & contrast

On white

16.67
#3A0734 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#3A0734 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A0734
16.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0734#FFFFFF#000000##FFFFFF
##3A07341.0016.671.2616.67
#FFFFFF16.671.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051935
Deuteranopia (green-blind)
#192133
Tritanopia (blue-blind)
#3D0C1D
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #3a0734;
/* rgb */ color: rgb(58, 7, 52);
/* oklch */ color: oklch(24.8% 0.097 333.5);
Tailwind
colors: {
  custom: {
    50: '#734d6b',
    500: '#3a0734',
    950: '#000000',
  },
}
SCSS
$custom: #3a0734;
$custom-light: #734d6b;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0734",
  "rgb": {
    "r": 58,
    "g": 7,
    "b": 52
  },
  "hsl": {
    "h": 307.059,
    "s": 78.462,
    "l": 12.745
  },
  "oklch": {
    "l": 0.24798,
    "c": 0.09692,
    "h": 333.5
  },
  "luminance": 0.01299
}

Semantic roles & 50–950 ramp

primary
#3A0734
secondary
#23792D
accent
#F54A33
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#080206
muted
#7B787A

Preview Lab

Preview with #3A0734

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

Preview Lab → · Contrast checker → · Palette generator →

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