#3A0E5D#3A0E5D

#3A0E5D is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.8% C 0.130 H 304.4°. Best body text is #FFFFFF at 14.99:1 contrast (WCAG AA passes).

Color values

HEX#3A0E5D
RGBrgb(58, 14, 93)
HSLhsl(273, 74%, 21%)
HSVhsv(273, 85%, 36%)
CMYKcmyk(37.6%, 84.9%, 0%, 63.5%)
CIE-LABlab(15.51, 36.31, -37.50)
CIE-LCHlch(15.51, 52.20, 314.08°)
OKLaboklab(28.82% 0.0731 -0.1069)
OKLCHoklch(28.82% 0.13 304.4)
XYZxyz(3.8773, 2.0039, 10.5363)
Luminance0.0200 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0E5D #315D0E
analogous
#120E5D #3A0E5D #5D0E58
triadic
#3A0E5D #5D3A0E #0E5D3A
tetradic
#3A0E5D #5D120E #315D0E #0E585D
square
#3A0E5D #5D120E #315D0E #0E585D
split-complementary
#3A0E5D #585D0E #0E5D12
monochromatic
#11041B #190628 #3A0E5D #5B1692 #7C1EC7

Accessibility & contrast

On white

14.99
#3A0E5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A0E5D
14.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0E5D#FFFFFF#000000##FFFFFF
##3A0E5D1.0014.991.4014.99
#FFFFFF14.991.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265F
Deuteranopia (green-blind)
#00275B
Tritanopia (blue-blind)
#332336
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3a0e5d;
/* rgb */ color: rgb(58, 14, 93);
/* oklch */ color: oklch(28.8% 0.130 304.4);
Tailwind
colors: {
  custom: {
    50: '#75538c',
    500: '#3a0e5d',
    950: '#000000',
  },
}
SCSS
$custom: #3a0e5d;
$custom-light: #75538c;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0e5d",
  "rgb": {
    "r": 58,
    "g": 14,
    "b": 93
  },
  "hsl": {
    "h": 273.418,
    "s": 73.832,
    "l": 20.98
  },
  "oklch": {
    "l": 0.28817,
    "c": 0.1295,
    "h": 304.4
  },
  "luminance": 0.02004
}

Semantic roles & 50–950 ramp

primary
#3A0E5D
secondary
#5E9730
accent
#F03789
background
#F7F4F8
surface
#EDE7F0
border
#C8C3CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3A0E5D

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

Preview Lab → · Contrast checker → · Palette generator →

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