#3A105F#3A105F

#3A105F is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.2% C 0.130 H 303.1°. Best body text is #FFFFFF at 14.80:1 contrast (WCAG AA passes).

Color values

HEX#3A105F
RGBrgb(58, 16, 95)
HSLhsl(272, 71%, 22%)
HSVhsv(272, 83%, 37%)
CMYKcmyk(38.9%, 83.2%, 0%, 62.7%)
CIE-LABlab(15.98, 35.98, -38.05)
CIE-LCHlch(15.98, 52.37, 313.40°)
OKLaboklab(29.21% 0.0707 -0.1086)
OKLCHoklch(29.21% 0.13 303.1)
XYZxyz(3.9953, 2.0963, 11.0184)
Luminance0.0210 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A105F #355F10
analogous
#13105F #3A105F #5F105D
triadic
#3A105F #5F3A10 #105F3A
tetradic
#3A105F #5F1310 #355F10 #105D5F
square
#3A105F #5F1310 #355F10 #105D5F
split-complementary
#3A105F #5D5F10 #105F13
monochromatic
#10041A #1A072B #3A105F #5A1993 #7A22C8

Accessibility & contrast

On white

14.80
#3A105F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A105F
14.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A105F#FFFFFF#000000##FFFFFF
##3A105F1.0014.801.4214.80
#FFFFFF14.801.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002761
Deuteranopia (green-blind)
#00285D
Tritanopia (blue-blind)
#322537
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #3a105f;
/* rgb */ color: rgb(58, 16, 95);
/* oklch */ color: oklch(29.2% 0.130 303.1);
Tailwind
colors: {
  custom: {
    50: '#75548d',
    500: '#3a105f',
    950: '#000000',
  },
}
SCSS
$custom: #3a105f;
$custom-light: #75548d;
$custom-dark: #000000;
JSON
{
  "hex": "#3a105f",
  "rgb": {
    "r": 58,
    "g": 16,
    "b": 95
  },
  "hsl": {
    "h": 271.899,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.29208,
    "c": 0.12953,
    "h": 303.1
  },
  "luminance": 0.02096
}

Semantic roles & 50–950 ramp

primary
#3A105F
secondary
#629833
accent
#EE3A8E
background
#F7F5F8
surface
#EDE8F0
border
#C8C4CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3A105F

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

Preview Lab → · Contrast checker → · Palette generator →

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