#3A0D60#3A0D60

#3A0D60 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 29.0% C 0.134 H 303.1°. Best body text is #FFFFFF at 14.93:1 contrast (WCAG AA passes).

Color values

HEX#3A0D60
RGBrgb(58, 13, 96)
HSLhsl(273, 76%, 21%)
HSVhsv(273, 86%, 38%)
CMYKcmyk(39.6%, 86.5%, 0%, 62.4%)
CIE-LABlab(15.65, 37.47, -39.26)
CIE-LCHlch(15.65, 54.27, 313.67°)
OKLaboklab(29.01% 0.073 -0.1121)
OKLCHoklch(29.01% 0.134 303.1)
XYZxyz(3.9997, 2.0319, 11.2455)
Luminance0.0203 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0D60 #33600D
analogous
#110D60 #3A0D60 #600D5D
triadic
#3A0D60 #603A0D #0D603A
tetradic
#3A0D60 #60110D #33600D #0D5D60
square
#3A0D60 #60110D #33600D #0D5D60
split-complementary
#3A0D60 #5D600D #0D6011
monochromatic
#10041B #19062A #3A0D60 #5B1496 #7B1CCC

Accessibility & contrast

On white

14.93
#3A0D60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#3A0D60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A0D60
14.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0D60#FFFFFF#000000##FFFFFF
##3A0D601.0014.931.4114.93
#FFFFFF14.931.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002662
Deuteranopia (green-blind)
#00275E
Tritanopia (blue-blind)
#322437
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3a0d60;
/* rgb */ color: rgb(58, 13, 96);
/* oklch */ color: oklch(29.0% 0.134 303.1);
Tailwind
colors: {
  custom: {
    50: '#75528e',
    500: '#3a0d60',
    950: '#000000',
  },
}
SCSS
$custom: #3a0d60;
$custom-light: #75528e;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0d60",
  "rgb": {
    "r": 58,
    "g": 13,
    "b": 96
  },
  "hsl": {
    "h": 272.53,
    "s": 76.147,
    "l": 21.373
  },
  "oklch": {
    "l": 0.29006,
    "c": 0.13374,
    "h": 303.1
  },
  "luminance": 0.02032
}

Semantic roles & 50–950 ramp

primary
#3A0D60
secondary
#609A2F
accent
#F3358C
background
#F7F4F8
surface
#EDE7F0
border
#C8C3CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3A0D60

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

Preview Lab → · Contrast checker → · Palette generator →

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