#3A0D59#3A0D59

#3A0D59 is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.3% C 0.126 H 306.5°. Best body text is #FFFFFF at 15.20:1 contrast (WCAG AA passes).

Color values

HEX#3A0D59
RGBrgb(58, 13, 89)
HSLhsl(276, 75%, 20%)
HSVhsv(276, 85%, 35%)
CMYKcmyk(34.8%, 85.4%, 0%, 65.1%)
CIE-LABlab(15.00, 35.70, -35.64)
CIE-LCHlch(15.00, 50.45, 315.05°)
OKLaboklab(28.35% 0.0751 -0.1014)
OKLCHoklch(28.35% 0.126 306.5)
XYZxyz(3.6916, 1.9087, 9.6232)
Luminance0.0191 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0D59 #2C590D
analogous
#140D59 #3A0D59 #590D52
triadic
#3A0D59 #593A0D #0D593A
tetradic
#3A0D59 #59140D #2C590D #0D5259
square
#3A0D59 #59140D #2C590D #0D5259
split-complementary
#3A0D59 #52590D #0D5914
monochromatic
#11041B #170524 #3A0D59 #5D158E #801DC4

Accessibility & contrast

On white

15.20
#3A0D59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#3A0D59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A0D59
15.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0D59#FFFFFF#000000##FFFFFF
##3A0D591.0015.201.3815.20
#FFFFFF15.201.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00245B
Deuteranopia (green-blind)
#002658
Tritanopia (blue-blind)
#342133
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3a0d59;
/* rgb */ color: rgb(58, 13, 89);
/* oklch */ color: oklch(28.3% 0.126 306.5);
Tailwind
colors: {
  custom: {
    50: '#745289',
    500: '#3a0d59',
    950: '#000000',
  },
}
SCSS
$custom: #3a0d59;
$custom-light: #745289;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0d59",
  "rgb": {
    "r": 58,
    "g": 13,
    "b": 89
  },
  "hsl": {
    "h": 275.526,
    "s": 74.51,
    "l": 20
  },
  "oklch": {
    "l": 0.28349,
    "c": 0.12624,
    "h": 306.5
  },
  "luminance": 0.01909
}

Semantic roles & 50–950 ramp

primary
#3A0D59
secondary
#58932E
accent
#F13783
background
#F7F4F8
surface
#EDE7F0
border
#C8C3CB
text
#09020B
muted
#7B787C

Preview Lab

Preview with #3A0D59

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

Preview Lab → · Contrast checker → · Palette generator →

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