#3A1355#3A1355

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

Color values

HEX#3A1355
RGBrgb(58, 19, 85)
HSLhsl(275, 63%, 20%)
HSVhsv(275, 78%, 33%)
CMYKcmyk(31.8%, 77.6%, 0%, 66.7%)
CIE-LABlab(15.60, 31.98, -31.97)
CIE-LCHlch(15.60, 45.22, 315.01°)
OKLaboklab(28.66% 0.0699 -0.0907)
OKLCHoklch(28.66% 0.115 307.6)
XYZxyz(3.6171, 2.0212, 8.7921)
Luminance0.0202 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A1355 #2E5513
analogous
#191355 #3A1355 #55134F
triadic
#3A1355 #553A13 #13553A
tetradic
#3A1355 #551913 #2E5513 #134F55
square
#3A1355 #551913 #2E5513 #134F55
split-complementary
#3A1355 #4F5513 #135519
monochromatic
#110619 #180823 #3A1355 #5C1E87 #7E29B9

Accessibility & contrast

On white

14.96
#3A1355 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#3A1355 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A1355
14.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A1355#FFFFFF#000000##FFFFFF
##3A13551.0014.961.4014.96
#FFFFFF14.961.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002657
Deuteranopia (green-blind)
#012754
Tritanopia (blue-blind)
#362232
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3a1355;
/* rgb */ color: rgb(58, 19, 85);
/* oklch */ color: oklch(28.7% 0.115 307.6);
Tailwind
colors: {
  custom: {
    50: '#735585',
    500: '#3a1355',
    950: '#000000',
  },
}
SCSS
$custom: #3a1355;
$custom-light: #735585;
$custom-dark: #000000;
JSON
{
  "hex": "#3a1355",
  "rgb": {
    "r": 58,
    "g": 19,
    "b": 85
  },
  "hsl": {
    "h": 275.455,
    "s": 63.462,
    "l": 20.392
  },
  "oklch": {
    "l": 0.28661,
    "c": 0.11451,
    "h": 307.6
  },
  "luminance": 0.02021
}

Semantic roles & 50–950 ramp

primary
#3A1355
secondary
#5A8D36
accent
#E64185
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #3A1355

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

Preview Lab → · Contrast checker → · Palette generator →

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