#3A0633#3A0633

#3A0633 is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.6% C 0.098 H 334.4°. Best body text is #FFFFFF at 16.75:1 contrast (WCAG AA passes).

Color values

HEX#3A0633
RGBrgb(58, 6, 51)
HSLhsl(308, 81%, 13%)
HSVhsv(308, 90%, 23%)
CMYKcmyk(0%, 89.7%, 12.1%, 77.3%)
CIE-LABlab(11.06, 30.22, -15.39)
CIE-LCHlch(11.06, 33.91, 333.01°)
OKLaboklab(24.62% 0.088 -0.0422)
OKLCHoklch(24.62% 0.098 334.4)
XYZxyz(2.4076, 1.2690, 3.2495)
Luminance0.0127 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0633 #063A0D
analogous
#27063A #3A0633 #3A0619
triadic
#3A0633 #333A06 #06333A
tetradic
#3A0633 #3A2706 #063A0D #06193A
square
#3A0633 #3A2706 #063A0D #06193A
split-complementary
#3A0633 #193A06 #063A27
monochromatic
#1C0318 #1C0318 #3A0633 #710C64 #A91195

Accessibility & contrast

On white

16.75
#3A0633 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#3A0633 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A0633
16.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0633#FFFFFF#000000##FFFFFF
##3A06331.0016.751.2516.75
#FFFFFF16.751.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051934
Deuteranopia (green-blind)
#192032
Tritanopia (blue-blind)
#3D0B1C
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #3a0633;
/* rgb */ color: rgb(58, 6, 51);
/* oklch */ color: oklch(24.6% 0.098 334.4);
Tailwind
colors: {
  custom: {
    50: '#734d6b',
    500: '#3a0633',
    950: '#000000',
  },
}
SCSS
$custom: #3a0633;
$custom-light: #734d6b;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0633",
  "rgb": {
    "r": 58,
    "g": 6,
    "b": 51
  },
  "hsl": {
    "h": 308.077,
    "s": 81.25,
    "l": 12.549
  },
  "oklch": {
    "l": 0.24623,
    "c": 0.09754,
    "h": 334.4
  },
  "luminance": 0.01269
}

Semantic roles & 50–950 ramp

primary
#3A0633
secondary
#227A2E
accent
#F84B30
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#080106
muted
#7B777A

Preview Lab

Preview with #3A0633

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

Preview Lab → · Contrast checker → · Palette generator →

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