#3A1050#3A1050

#3A1050 is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.9% C 0.113 H 311.1°. Best body text is #FFFFFF at 15.33:1 contrast (WCAG AA passes).

Color values

HEX#3A1050
RGBrgb(58, 16, 80)
HSLhsl(279, 67%, 19%)
HSVhsv(279, 80%, 31%)
CMYKcmyk(27.5%, 80%, 0%, 68.6%)
CIE-LABlab(14.68, 32.16, -30.06)
CIE-LCHlch(14.68, 44.02, 316.94°)
OKLaboklab(27.88% 0.0742 -0.0851)
OKLCHoklch(27.88% 0.113 311.1)
XYZxyz(3.3779, 1.8494, 7.7669)
Luminance0.0185 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A1050 #265010
analogous
#1A1050 #3A1050 #501046
triadic
#3A1050 #503A10 #10503A
tetradic
#3A1050 #501A10 #265010 #104650
square
#3A1050 #501A10 #265010 #104650
split-complementary
#3A1050 #465010 #10501A
monochromatic
#12051A #15061D #3A1050 #5F1A83 #8424B6

Accessibility & contrast

On white

15.33
#3A1050 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#3A1050 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A1050
15.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A1050#FFFFFF#000000##FFFFFF
##3A10501.0015.331.3715.33
#FFFFFF15.331.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002352
Deuteranopia (green-blind)
#06264F
Tritanopia (blue-blind)
#371F2F
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3a1050;
/* rgb */ color: rgb(58, 16, 80);
/* oklch */ color: oklch(27.9% 0.113 311.1);
Tailwind
colors: {
  custom: {
    50: '#735382',
    500: '#3a1050',
    950: '#000000',
  },
}
SCSS
$custom: #3a1050;
$custom-light: #735382;
$custom-dark: #000000;
JSON
{
  "hex": "#3a1050",
  "rgb": {
    "r": 58,
    "g": 16,
    "b": 80
  },
  "hsl": {
    "h": 279.375,
    "s": 66.667,
    "l": 18.824
  },
  "oklch": {
    "l": 0.27877,
    "c": 0.1129,
    "h": 311.1
  },
  "luminance": 0.01849
}

Semantic roles & 50–950 ramp

primary
#3A1050
secondary
#508A32
accent
#EA3E79
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#08030A
muted
#7B787C

Preview Lab

Preview with #3A1050

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

Preview Lab → · Contrast checker → · Palette generator →

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