#3A1353#3A1353

#3A1353 is a dark, moderate violet. Relative luminance 0.020; OKLCH L 28.5% C 0.112 H 308.8°. Best body text is #FFFFFF at 15.02:1 contrast (WCAG AA passes).

Color values

HEX#3A1353
RGBrgb(58, 19, 83)
HSLhsl(277, 63%, 20%)
HSVhsv(277, 77%, 33%)
CMYKcmyk(30.1%, 77.1%, 0%, 67.5%)
CIE-LABlab(15.43, 31.47, -30.87)
CIE-LCHlch(15.43, 44.08, 315.54°)
OKLaboklab(28.49% 0.0703 -0.0875)
OKLCHoklch(28.49% 0.112 308.8)
XYZxyz(3.5388, 1.9899, 8.3796)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A1353 #2C5313
analogous
#1A1353 #3A1353 #53134C
triadic
#3A1353 #533A13 #13533A
tetradic
#3A1353 #531A13 #2C5313 #134C53
square
#3A1353 #531A13 #2C5313 #134C53
split-complementary
#3A1353 #4C5313 #13531A
monochromatic
#110619 #170821 #3A1353 #5D1E85 #802AB7

Accessibility & contrast

On white

15.02
#3A1353 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A1353
15.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A1353#FFFFFF#000000##FFFFFF
##3A13531.0015.021.4015.02
#FFFFFF15.021.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002555
Deuteranopia (green-blind)
#052752
Tritanopia (blue-blind)
#362131
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3a1353;
/* rgb */ color: rgb(58, 19, 83);
/* oklch */ color: oklch(28.5% 0.112 308.8);
Tailwind
colors: {
  custom: {
    50: '#735584',
    500: '#3a1353',
    950: '#000000',
  },
}
SCSS
$custom: #3a1353;
$custom-light: #735584;
$custom-dark: #000000;
JSON
{
  "hex": "#3a1353",
  "rgb": {
    "r": 58,
    "g": 19,
    "b": 83
  },
  "hsl": {
    "h": 276.563,
    "s": 62.745,
    "l": 20
  },
  "oklch": {
    "l": 0.28493,
    "c": 0.11221,
    "h": 308.8
  },
  "luminance": 0.0199
}

Semantic roles & 50–950 ramp

primary
#3A1353
secondary
#588B36
accent
#E64282
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #3A1353

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

Preview Lab → · Contrast checker → · Palette generator →

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