#3A0E5E#3A0E5E

#3A0E5E is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.9% C 0.131 H 303.9°. Best body text is #FFFFFF at 14.95:1 contrast (WCAG AA passes).

Color values

HEX#3A0E5E
RGBrgb(58, 14, 94)
HSLhsl(273, 74%, 21%)
HSVhsv(273, 85%, 37%)
CMYKcmyk(38.3%, 85.1%, 0%, 63.1%)
CIE-LABlab(15.60, 36.57, -38.01)
CIE-LCHlch(15.60, 52.75, 313.89°)
OKLaboklab(28.91% 0.0728 -0.1084)
OKLCHoklch(28.91% 0.131 303.9)
XYZxyz(3.9219, 2.0218, 10.7711)
Luminance0.0202 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0E5E #325E0E
analogous
#120E5E #3A0E5E #5E0E5A
triadic
#3A0E5E #5E3A0E #0E5E3A
tetradic
#3A0E5E #5E120E #325E0E #0E5A5E
square
#3A0E5E #5E120E #325E0E #0E5A5E
split-complementary
#3A0E5E #5A5E0E #0E5E12
monochromatic
#10041B #190629 #3A0E5E #5B1693 #7C1EC9

Accessibility & contrast

On white

14.95
#3A0E5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A0E5E
14.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0E5E#FFFFFF#000000##FFFFFF
##3A0E5E1.0014.951.4014.95
#FFFFFF14.951.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002660
Deuteranopia (green-blind)
#00275C
Tritanopia (blue-blind)
#332436
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3a0e5e;
/* rgb */ color: rgb(58, 14, 94);
/* oklch */ color: oklch(28.9% 0.131 303.9);
Tailwind
colors: {
  custom: {
    50: '#75538c',
    500: '#3a0e5e',
    950: '#000000',
  },
}
SCSS
$custom: #3a0e5e;
$custom-light: #75538c;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0e5e",
  "rgb": {
    "r": 58,
    "g": 14,
    "b": 94
  },
  "hsl": {
    "h": 273,
    "s": 74.074,
    "l": 21.176
  },
  "oklch": {
    "l": 0.28911,
    "c": 0.13057,
    "h": 303.9
  },
  "luminance": 0.02022
}

Semantic roles & 50–950 ramp

primary
#3A0E5E
secondary
#5F9830
accent
#F1378B
background
#F7F4F8
surface
#EDE7F0
border
#C8C3CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3A0E5E

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

Preview Lab → · Contrast checker → · Palette generator →

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