#3A105A#3A105A

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

Color values

HEX#3A105A
RGBrgb(58, 16, 90)
HSLhsl(274, 70%, 21%)
HSVhsv(274, 82%, 35%)
CMYKcmyk(35.6%, 82.2%, 0%, 64.7%)
CIE-LABlab(15.53, 34.69, -35.45)
CIE-LCHlch(15.53, 49.60, 314.38°)
OKLaboklab(28.75% 0.072 -0.1009)
OKLCHoklch(28.75% 0.124 305.5)
XYZxyz(3.7753, 2.0083, 9.8596)
Luminance0.0201 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A105A #305A10
analogous
#15105A #3A105A #5A1055
triadic
#3A105A #5A3A10 #105A3A
tetradic
#3A105A #5A1510 #305A10 #10555A
square
#3A105A #5A1510 #305A10 #10555A
split-complementary
#3A105A #555A10 #105A15
monochromatic
#11051A #190726 #3A105A #5B198E #7D22C2

Accessibility & contrast

On white

14.98
#3A105A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A105A
14.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A105A#FFFFFF#000000##FFFFFF
##3A105A1.0014.981.4014.98
#FFFFFF14.981.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265C
Deuteranopia (green-blind)
#002759
Tritanopia (blue-blind)
#342334
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3a105a;
/* rgb */ color: rgb(58, 16, 90);
/* oklch */ color: oklch(28.7% 0.124 305.5);
Tailwind
colors: {
  custom: {
    50: '#745389',
    500: '#3a105a',
    950: '#000000',
  },
}
SCSS
$custom: #3a105a;
$custom-light: #745389;
$custom-dark: #000000;
JSON
{
  "hex": "#3a105a",
  "rgb": {
    "r": 58,
    "g": 16,
    "b": 90
  },
  "hsl": {
    "h": 274.054,
    "s": 69.811,
    "l": 20.784
  },
  "oklch": {
    "l": 0.28749,
    "c": 0.12398,
    "h": 305.5
  },
  "luminance": 0.02008
}

Semantic roles & 50–950 ramp

primary
#3A105A
secondary
#5C9333
accent
#ED3B88
background
#F7F4F8
surface
#EDE8F0
border
#C8C4CB
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3A105A

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

Preview Lab → · Contrast checker → · Palette generator →

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