#3A0935#3A0935

#3A0935 is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.1% C 0.095 H 332.6°. Best body text is #FFFFFF at 16.53:1 contrast (WCAG AA passes).

Color values

HEX#3A0935
RGBrgb(58, 9, 53)
HSLhsl(306, 73%, 13%)
HSVhsv(306, 84%, 23%)
CMYKcmyk(0%, 84.5%, 8.6%, 77.3%)
CIE-LABlab(11.64, 29.28, -15.93)
CIE-LCHlch(11.64, 33.34, 331.46°)
OKLaboklab(25.08% 0.0843 -0.0438)
OKLCHoklch(25.08% 0.095 332.6)
XYZxyz(2.4852, 1.3522, 3.4976)
Luminance0.0135 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0935 #093A0E
analogous
#26093A #3A0935 #3A091C
triadic
#3A0935 #353A09 #09353A
tetradic
#3A0935 #3A2609 #093A0E #091C3A
square
#3A0935 #3A2609 #093A0E #091C3A
split-complementary
#3A0935 #1C3A09 #093A26
monochromatic
#1A0418 #1A0418 #3A0935 #6F1165 #A41996

Accessibility & contrast

On white

16.53
#3A0935 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A0935
16.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0935#FFFFFF#000000##FFFFFF
##3A09351.0016.531.2716.53
#FFFFFF16.531.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071A36
Deuteranopia (green-blind)
#192134
Tritanopia (blue-blind)
#3D0E1E
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #3a0935;
/* rgb */ color: rgb(58, 9, 53);
/* oklch */ color: oklch(25.1% 0.095 332.6);
Tailwind
colors: {
  custom: {
    50: '#724e6c',
    500: '#3a0935',
    950: '#000000',
  },
}
SCSS
$custom: #3a0935;
$custom-light: #724e6c;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0935",
  "rgb": {
    "r": 58,
    "g": 9,
    "b": 53
  },
  "hsl": {
    "h": 306.122,
    "s": 73.134,
    "l": 13.137
  },
  "oklch": {
    "l": 0.25078,
    "c": 0.09495,
    "h": 332.6
  },
  "luminance": 0.01352
}

Semantic roles & 50–950 ramp

primary
#3A0935
secondary
#27782F
accent
#F04B38
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#080207
muted
#7B787A

Preview Lab

Preview with #3A0935

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

Preview Lab → · Contrast checker → · Palette generator →

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