#3A0E58#3A0E58

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

Color values

HEX#3A0E58
RGBrgb(58, 14, 88)
HSLhsl(276, 73%, 20%)
HSVhsv(276, 84%, 35%)
CMYKcmyk(34.1%, 84.1%, 0%, 65.5%)
CIE-LABlab(15.05, 35.04, -34.88)
CIE-LCHlch(15.05, 49.44, 315.13°)
OKLaboklab(28.36% 0.0745 -0.0992)
OKLCHoklch(28.36% 0.124 306.9)
XYZxyz(3.6630, 1.9182, 9.4079)
Luminance0.0192 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0E58 #2C580E
analogous
#150E58 #3A0E58 #580E51
triadic
#3A0E58 #583A0E #0E583A
tetradic
#3A0E58 #58150E #2C580E #0E5158
square
#3A0E58 #58150E #2C580E #0E5158
split-complementary
#3A0E58 #51580E #0E5815
monochromatic
#11041A #170623 #3A0E58 #5D168D #801FC2

Accessibility & contrast

On white

15.18
#3A0E58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A0E58
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0E58#FFFFFF#000000##FFFFFF
##3A0E581.0015.181.3815.18
#FFFFFF15.181.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00245A
Deuteranopia (green-blind)
#002657
Tritanopia (blue-blind)
#352133
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3a0e58;
/* rgb */ color: rgb(58, 14, 88);
/* oklch */ color: oklch(28.4% 0.124 306.9);
Tailwind
colors: {
  custom: {
    50: '#745288',
    500: '#3a0e58',
    950: '#000000',
  },
}
SCSS
$custom: #3a0e58;
$custom-light: #745288;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0e58",
  "rgb": {
    "r": 58,
    "g": 14,
    "b": 88
  },
  "hsl": {
    "h": 275.676,
    "s": 72.549,
    "l": 20
  },
  "oklch": {
    "l": 0.28357,
    "c": 0.12408,
    "h": 306.9
  },
  "luminance": 0.01918
}

Semantic roles & 50–950 ramp

primary
#3A0E58
secondary
#589230
accent
#EF3983
background
#F7F4F8
surface
#EDE7F0
border
#C8C3CB
text
#08020B
muted
#7B787C

Preview Lab

Preview with #3A0E58

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

Preview Lab → · Contrast checker → · Palette generator →

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