#3A1356#3A1356

#3A1356 is a dark, moderate violet. Relative luminance 0.020; OKLCH L 28.7% C 0.116 H 307.1°. Best body text is #FFFFFF at 14.92:1 contrast (WCAG AA passes).

Color values

HEX#3A1356
RGBrgb(58, 19, 86)
HSLhsl(275, 64%, 21%)
HSVhsv(275, 78%, 34%)
CMYKcmyk(32.6%, 77.9%, 0%, 66.3%)
CIE-LABlab(15.68, 32.24, -32.51)
CIE-LCHlch(15.68, 45.79, 314.77°)
OKLaboklab(28.75% 0.0697 -0.0923)
OKLCHoklch(28.75% 0.116 307.1)
XYZxyz(3.6572, 2.0372, 9.0029)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A1356 #2F5613
analogous
#181356 #3A1356 #561350
triadic
#3A1356 #563A13 #13563A
tetradic
#3A1356 #561813 #2F5613 #135056
square
#3A1356 #561813 #2F5613 #135056
split-complementary
#3A1356 #505613 #135618
monochromatic
#110619 #180824 #3A1356 #5C1E88 #7E29BA

Accessibility & contrast

On white

14.92
#3A1356 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#3A1356 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A1356
14.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A1356#FFFFFF#000000##FFFFFF
##3A13561.0014.921.4114.92
#FFFFFF14.921.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002658
Deuteranopia (green-blind)
#002755
Tritanopia (blue-blind)
#352333
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3a1356;
/* rgb */ color: rgb(58, 19, 86);
/* oklch */ color: oklch(28.7% 0.116 307.1);
Tailwind
colors: {
  custom: {
    50: '#735586',
    500: '#3a1356',
    950: '#000000',
  },
}
SCSS
$custom: #3a1356;
$custom-light: #735586;
$custom-dark: #000000;
JSON
{
  "hex": "#3a1356",
  "rgb": {
    "r": 58,
    "g": 19,
    "b": 86
  },
  "hsl": {
    "h": 274.925,
    "s": 63.81,
    "l": 20.588
  },
  "oklch": {
    "l": 0.28747,
    "c": 0.11566,
    "h": 307.1
  },
  "luminance": 0.02037
}

Semantic roles & 50–950 ramp

primary
#3A1356
secondary
#5B8E36
accent
#E74186
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #3A1356

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

Preview Lab → · Contrast checker → · Palette generator →

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