#3A1053#3A1053

#3A1053 is a dark, moderate violet. Relative luminance 0.019; OKLCH L 28.1% C 0.116 H 309.3°. Best body text is #FFFFFF at 15.23:1 contrast (WCAG AA passes).

Color values

HEX#3A1053
RGBrgb(58, 16, 83)
HSLhsl(278, 68%, 19%)
HSVhsv(278, 81%, 33%)
CMYKcmyk(30.1%, 80.7%, 0%, 67.5%)
CIE-LABlab(14.92, 32.91, -31.70)
CIE-LCHlch(14.92, 45.69, 316.07°)
OKLaboklab(28.13% 0.0737 -0.0899)
OKLCHoklch(28.13% 0.116 309.3)
XYZxyz(3.4912, 1.8947, 8.3637)
Luminance0.0190 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A1053 #295310
analogous
#191053 #3A1053 #53104B
triadic
#3A1053 #533A10 #10533A
tetradic
#3A1053 #531910 #295310 #104B53
square
#3A1053 #531910 #295310 #104B53
split-complementary
#3A1053 #4B5310 #105319
monochromatic
#12051A #160620 #3A1053 #5E1A86 #8224BA

Accessibility & contrast

On white

15.23
#3A1053 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#3A1053 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A1053
15.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A1053#FFFFFF#000000##FFFFFF
##3A10531.0015.231.3815.23
#FFFFFF15.231.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002455
Deuteranopia (green-blind)
#012652
Tritanopia (blue-blind)
#362030
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3a1053;
/* rgb */ color: rgb(58, 16, 83);
/* oklch */ color: oklch(28.1% 0.116 309.3);
Tailwind
colors: {
  custom: {
    50: '#735384',
    500: '#3a1053',
    950: '#000000',
  },
}
SCSS
$custom: #3a1053;
$custom-light: #735384;
$custom-dark: #000000;
JSON
{
  "hex": "#3a1053",
  "rgb": {
    "r": 58,
    "g": 16,
    "b": 83
  },
  "hsl": {
    "h": 277.612,
    "s": 67.677,
    "l": 19.412
  },
  "oklch": {
    "l": 0.28132,
    "c": 0.11622,
    "h": 309.3
  },
  "luminance": 0.01895
}

Semantic roles & 50–950 ramp

primary
#3A1053
secondary
#548D32
accent
#EB3D7E
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #3A1053

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

Preview Lab → · Contrast checker → · Palette generator →

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