#3A1059#3A1059

#3A1059 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.7% C 0.123 H 306.0°. Best body text is #FFFFFF at 15.02:1 contrast (WCAG AA passes).

Color values

HEX#3A1059
RGBrgb(58, 16, 89)
HSLhsl(275, 70%, 21%)
HSVhsv(275, 82%, 35%)
CMYKcmyk(34.8%, 82%, 0%, 65.1%)
CIE-LABlab(15.44, 34.43, -34.92)
CIE-LCHlch(15.44, 49.04, 314.60°)
OKLaboklab(28.66% 0.0723 -0.0993)
OKLCHoklch(28.66% 0.123 306)
XYZxyz(3.7330, 1.9914, 9.6370)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A1059 #2F5910
analogous
#161059 #3A1059 #591053
triadic
#3A1059 #593A10 #10593A
tetradic
#3A1059 #591610 #2F5910 #105359
square
#3A1059 #591610 #2F5910 #105359
split-complementary
#3A1059 #535910 #105916
monochromatic
#11051A #180725 #3A1059 #5C198D #7E23C1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A1059#FFFFFF#000000##FFFFFF
##3A10591.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)
#00255B
Deuteranopia (green-blind)
#002758
Tritanopia (blue-blind)
#342234
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3a1059;
/* rgb */ color: rgb(58, 16, 89);
/* oklch */ color: oklch(28.7% 0.123 306.0);
Tailwind
colors: {
  custom: {
    50: '#745388',
    500: '#3a1059',
    950: '#000000',
  },
}
SCSS
$custom: #3a1059;
$custom-light: #745388;
$custom-dark: #000000;
JSON
{
  "hex": "#3a1059",
  "rgb": {
    "r": 58,
    "g": 16,
    "b": 89
  },
  "hsl": {
    "h": 274.521,
    "s": 69.524,
    "l": 20.588
  },
  "oklch": {
    "l": 0.28659,
    "c": 0.12287,
    "h": 306
  },
  "luminance": 0.01991
}

Semantic roles & 50–950 ramp

primary
#3A1059
secondary
#5B9233
accent
#EC3B87
background
#F7F4F8
surface
#EDE8F0
border
#C8C4CB
text
#08030B
muted
#7B787C

Preview Lab

Preview with #3A1059

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

Preview Lab → · Contrast checker → · Palette generator →

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