#3A0E5F#3A0E5F

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

Color values

HEX#3A0E5F
RGBrgb(58, 14, 95)
HSLhsl(273, 74%, 21%)
HSVhsv(273, 85%, 37%)
CMYKcmyk(38.9%, 85.3%, 0%, 62.7%)
CIE-LABlab(15.69, 36.82, -38.53)
CIE-LCHlch(15.69, 53.29, 313.70°)
OKLaboklab(29.01% 0.0725 -0.1099)
OKLCHoklch(29.01% 0.132 303.4)
XYZxyz(3.9670, 2.0398, 11.0090)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0E5F #335F0E
analogous
#120E5F #3A0E5F #5F0E5C
triadic
#3A0E5F #5F3A0E #0E5F3A
tetradic
#3A0E5F #5F120E #335F0E #0E5C5F
square
#3A0E5F #5F120E #335F0E #0E5C5F
split-complementary
#3A0E5F #5C5F0E #0E5F12
monochromatic
#10041B #19062A #3A0E5F #5B1694 #7B1ECA

Accessibility & contrast

On white

14.91
#3A0E5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A0E5F
14.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0E5F#FFFFFF#000000##FFFFFF
##3A0E5F1.0014.911.4114.91
#FFFFFF14.911.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a0e5f;
/* rgb */ color: rgb(58, 14, 95);
/* oklch */ color: oklch(29.0% 0.132 303.4);
Tailwind
colors: {
  custom: {
    50: '#75538d',
    500: '#3a0e5f',
    950: '#000000',
  },
}
SCSS
$custom: #3a0e5f;
$custom-light: #75538d;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0e5f",
  "rgb": {
    "r": 58,
    "g": 14,
    "b": 95
  },
  "hsl": {
    "h": 272.593,
    "s": 74.312,
    "l": 21.373
  },
  "oklch": {
    "l": 0.29006,
    "c": 0.13166,
    "h": 303.4
  },
  "luminance": 0.0204
}

Semantic roles & 50–950 ramp

primary
#3A0E5F
secondary
#609930
accent
#F1378C
background
#F7F4F8
surface
#EDE7F0
border
#C8C3CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3A0E5F

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

Preview Lab → · Contrast checker → · Palette generator →

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