#3A1359#3A1359

#3A1359 is a dark, moderate violet. Relative luminance 0.021; OKLCH L 29.0% C 0.119 H 305.5°. Best body text is #FFFFFF at 14.82:1 contrast (WCAG AA passes).

Color values

HEX#3A1359
RGBrgb(58, 19, 89)
HSLhsl(273, 65%, 21%)
HSVhsv(273, 79%, 35%)
CMYKcmyk(34.8%, 78.7%, 0%, 65.1%)
CIE-LABlab(15.94, 33.03, -34.12)
CIE-LCHlch(15.94, 47.48, 314.07°)
OKLaboklab(29.01% 0.0691 -0.097)
OKLCHoklch(29.01% 0.119 305.5)
XYZxyz(3.7806, 2.0866, 9.6528)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A1359 #325913
analogous
#171359 #3A1359 #591355
triadic
#3A1359 #593A13 #13593A
tetradic
#3A1359 #591713 #325913 #135559
square
#3A1359 #591713 #325913 #135559
split-complementary
#3A1359 #555913 #135917
monochromatic
#100519 #190827 #3A1359 #5B1E8B #7C29BE

Accessibility & contrast

On white

14.82
#3A1359 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#3A1359 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A1359
14.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A1359#FFFFFF#000000##FFFFFF
##3A13591.0014.821.4214.82
#FFFFFF14.821.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275B
Deuteranopia (green-blind)
#002858
Tritanopia (blue-blind)
#342435
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #3a1359;
/* rgb */ color: rgb(58, 19, 89);
/* oklch */ color: oklch(29.0% 0.119 305.5);
Tailwind
colors: {
  custom: {
    50: '#745588',
    500: '#3a1359',
    950: '#000000',
  },
}
SCSS
$custom: #3a1359;
$custom-light: #745588;
$custom-dark: #000000;
JSON
{
  "hex": "#3a1359",
  "rgb": {
    "r": 58,
    "g": 19,
    "b": 89
  },
  "hsl": {
    "h": 273.429,
    "s": 64.815,
    "l": 21.176
  },
  "oklch": {
    "l": 0.29006,
    "c": 0.11914,
    "h": 305.5
  },
  "luminance": 0.02087
}

Semantic roles & 50–950 ramp

primary
#3A1359
secondary
#5F9137
accent
#E8408A
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030B
muted
#7B787C

Preview Lab

Preview with #3A1359

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

Preview Lab → · Contrast checker → · Palette generator →

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