#3A0E59#3A0E59

#3A0E59 is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.4% C 0.125 H 306.4°. Best body text is #FFFFFF at 15.14:1 contrast (WCAG AA passes).

Color values

HEX#3A0E59
RGBrgb(58, 14, 89)
HSLhsl(275, 73%, 20%)
HSVhsv(275, 84%, 35%)
CMYKcmyk(34.8%, 84.3%, 0%, 65.1%)
CIE-LABlab(15.14, 35.30, -35.41)
CIE-LCHlch(15.14, 50.00, 314.91°)
OKLaboklab(28.45% 0.0742 -0.1008)
OKLCHoklch(28.45% 0.125 306.4)
XYZxyz(3.7047, 1.9349, 9.6276)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0E59 #2D590E
analogous
#140E59 #3A0E59 #590E52
triadic
#3A0E59 #593A0E #0E593A
tetradic
#3A0E59 #59140E #2D590E #0E5259
square
#3A0E59 #59140E #2D590E #0E5259
split-complementary
#3A0E59 #52590E #0E5914
monochromatic
#11041A #180624 #3A0E59 #5C168E #7F1FC3

Accessibility & contrast

On white

15.14
#3A0E59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#3A0E59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A0E59
15.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0E59#FFFFFF#000000##FFFFFF
##3A0E591.0015.141.3915.14
#FFFFFF15.141.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a0e59;
/* rgb */ color: rgb(58, 14, 89);
/* oklch */ color: oklch(28.4% 0.125 306.4);
Tailwind
colors: {
  custom: {
    50: '#745289',
    500: '#3a0e59',
    950: '#000000',
  },
}
SCSS
$custom: #3a0e59;
$custom-light: #745289;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0e59",
  "rgb": {
    "r": 58,
    "g": 14,
    "b": 89
  },
  "hsl": {
    "h": 275.2,
    "s": 72.816,
    "l": 20.196
  },
  "oklch": {
    "l": 0.28448,
    "c": 0.12516,
    "h": 306.4
  },
  "luminance": 0.01935
}

Semantic roles & 50–950 ramp

primary
#3A0E59
secondary
#599330
accent
#F03884
background
#F7F4F8
surface
#EDE7F0
border
#C8C3CB
text
#09020B
muted
#7B787C

Preview Lab

Preview with #3A0E59

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

Preview Lab → · Contrast checker → · Palette generator →

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