#3A0337#3A0337

#3A0337 is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 24.6% C 0.105 H 330.8°. Best body text is #FFFFFF at 16.82:1 contrast (WCAG AA passes).

Color values

HEX#3A0337
RGBrgb(58, 3, 55)
HSLhsl(303, 90%, 12%)
HSVhsv(303, 95%, 23%)
CMYKcmyk(0%, 94.8%, 5.2%, 77.3%)
CIE-LABlab(10.85, 32.29, -18.62)
CIE-LCHlch(10.85, 37.27, 330.04°)
OKLaboklab(24.56% 0.0919 -0.0515)
OKLCHoklch(24.56% 0.105 330.8)
XYZxyz(2.4671, 1.2407, 3.7232)
Luminance0.0124 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0337 #033A06
analogous
#22033A #3A0337 #3A031C
triadic
#3A0337 #373A03 #03373A
tetradic
#3A0337 #3A2203 #033A06 #031C3A
square
#3A0337 #3A2203 #033A06 #031C3A
split-complementary
#3A0337 #1C3A03 #033A22
monochromatic
#1D021C #1D021C #3A0337 #74066E #AE09A5

Accessibility & contrast

On white

16.82
#3A0337 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A0337
16.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0337#FFFFFF#000000##FFFFFF
##3A03371.0016.821.2516.82
#FFFFFF16.821.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001838
Deuteranopia (green-blind)
#152036
Tritanopia (blue-blind)
#3D0A1D
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #3a0337;
/* rgb */ color: rgb(58, 3, 55);
/* oklch */ color: oklch(24.6% 0.105 330.8);
Tailwind
colors: {
  custom: {
    50: '#734c6e',
    500: '#3a0337',
    950: '#000000',
  },
}
SCSS
$custom: #3a0337;
$custom-light: #734c6e;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0337",
  "rgb": {
    "r": 58,
    "g": 3,
    "b": 55
  },
  "hsl": {
    "h": 303.273,
    "s": 90.164,
    "l": 11.961
  },
  "oklch": {
    "l": 0.24563,
    "c": 0.10537,
    "h": 330.8
  },
  "luminance": 0.01241
}

Semantic roles & 50–950 ramp

primary
#3A0337
secondary
#1C7D21
accent
#FF3429
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#080107
muted
#7B777A

Preview Lab

Preview with #3A0337

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

Preview Lab → · Contrast checker → · Palette generator →

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