#3A0E57#3A0E57

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

Color values

HEX#3A0E57
RGBrgb(58, 14, 87)
HSLhsl(276, 72%, 20%)
HSVhsv(276, 84%, 34%)
CMYKcmyk(33.3%, 83.9%, 0%, 65.9%)
CIE-LABlab(14.96, 34.79, -34.35)
CIE-LCHlch(14.96, 48.89, 315.37°)
OKLaboklab(28.27% 0.0748 -0.0977)
OKLCHoklch(28.27% 0.123 307.4)
XYZxyz(3.6219, 1.9018, 9.1913)
Luminance0.0190 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0E57 #2B570E
analogous
#150E57 #3A0E57 #570E50
triadic
#3A0E57 #573A0E #0E573A
tetradic
#3A0E57 #57150E #2B570E #0E5057
square
#3A0E57 #57150E #2B570E #0E5057
split-complementary
#3A0E57 #50570E #0E5715
monochromatic
#12041A #170622 #3A0E57 #5D168C #801FC0

Accessibility & contrast

On white

15.21
#3A0E57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A0E57
15.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0E57#FFFFFF#000000##FFFFFF
##3A0E571.0015.211.3815.21
#FFFFFF15.211.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002459
Deuteranopia (green-blind)
#002656
Tritanopia (blue-blind)
#352132
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3a0e57;
/* rgb */ color: rgb(58, 14, 87);
/* oklch */ color: oklch(28.3% 0.123 307.4);
Tailwind
colors: {
  custom: {
    50: '#745287',
    500: '#3a0e57',
    950: '#000000',
  },
}
SCSS
$custom: #3a0e57;
$custom-light: #745287;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0e57",
  "rgb": {
    "r": 58,
    "g": 14,
    "b": 87
  },
  "hsl": {
    "h": 276.164,
    "s": 72.277,
    "l": 19.804
  },
  "oklch": {
    "l": 0.28267,
    "c": 0.123,
    "h": 307.4
  },
  "luminance": 0.01902
}

Semantic roles & 50–950 ramp

primary
#3A0E57
secondary
#569130
accent
#EF3981
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08020B
muted
#7B787C

Preview Lab

Preview with #3A0E57

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

Preview Lab → · Contrast checker → · Palette generator →

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