#3A0833#3A0833

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

Color values

HEX#3A0833
RGBrgb(58, 8, 51)
HSLhsl(308, 76%, 13%)
HSVhsv(308, 86%, 23%)
CMYKcmyk(0%, 86.2%, 12.1%, 77.3%)
CIE-LABlab(11.36, 29.34, -14.91)
CIE-LCHlch(11.36, 32.91, 333.07°)
OKLaboklab(24.84% 0.0854 -0.0408)
OKLCHoklch(24.84% 0.095 334.5)
XYZxyz(2.4293, 1.3124, 3.2567)
Luminance0.0131 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0833 #083A0F
analogous
#28083A #3A0833 #3A081A
triadic
#3A0833 #333A08 #08333A
tetradic
#3A0833 #3A2808 #083A0F #081A3A
square
#3A0833 #3A2808 #083A0F #081A3A
split-complementary
#3A0833 #1A3A08 #083A28
monochromatic
#1B0418 #1B0418 #3A0833 #700F62 #A61792

Accessibility & contrast

On white

16.63
#3A0833 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A0833
16.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0833#FFFFFF#000000##FFFFFF
##3A08331.0016.631.2616.63
#FFFFFF16.631.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071A34
Deuteranopia (green-blind)
#1A2132
Tritanopia (blue-blind)
#3D0C1C
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #3a0833;
/* rgb */ color: rgb(58, 8, 51);
/* oklch */ color: oklch(24.8% 0.095 334.5);
Tailwind
colors: {
  custom: {
    50: '#724e6b',
    500: '#3a0833',
    950: '#000000',
  },
}
SCSS
$custom: #3a0833;
$custom-light: #724e6b;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0833",
  "rgb": {
    "r": 58,
    "g": 8,
    "b": 51
  },
  "hsl": {
    "h": 308.4,
    "s": 75.758,
    "l": 12.941
  },
  "oklch": {
    "l": 0.24842,
    "c": 0.09463,
    "h": 334.5
  },
  "luminance": 0.01312
}

Semantic roles & 50–950 ramp

primary
#3A0833
secondary
#257931
accent
#F25035
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#080206
muted
#7B787A

Preview Lab

Preview with #3A0833

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

Preview Lab → · Contrast checker → · Palette generator →

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