#3A0E51#3A0E51

#3A0E51 is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.7% C 0.117 H 310.8°. Best body text is #FFFFFF at 15.42:1 contrast (WCAG AA passes).

Color values

HEX#3A0E51
RGBrgb(58, 14, 81)
HSLhsl(279, 71%, 19%)
HSVhsv(279, 83%, 32%)
CMYKcmyk(28.4%, 82.7%, 0%, 68.2%)
CIE-LABlab(14.44, 33.31, -31.11)
CIE-LCHlch(14.44, 45.58, 316.95°)
OKLaboklab(27.74% 0.0762 -0.0882)
OKLCHoklch(27.74% 0.117 310.8)
XYZxyz(3.3869, 1.8078, 7.9535)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0E51 #25510E
analogous
#180E51 #3A0E51 #510E46
triadic
#3A0E51 #513A0E #0E513A
tetradic
#3A0E51 #51180E #25510E #0E4651
square
#3A0E51 #51180E #25510E #0E4651
split-complementary
#3A0E51 #46510E #0E5118
monochromatic
#13051A #15051D #3A0E51 #5F1785 #8520B9

Accessibility & contrast

On white

15.42
#3A0E51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#3A0E51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A0E51
15.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0E51#FFFFFF#000000##FFFFFF
##3A0E511.0015.421.3615.42
#FFFFFF15.421.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002353
Deuteranopia (green-blind)
#022550
Tritanopia (blue-blind)
#371E2F
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3a0e51;
/* rgb */ color: rgb(58, 14, 81);
/* oklch */ color: oklch(27.7% 0.117 310.8);
Tailwind
colors: {
  custom: {
    50: '#735282',
    500: '#3a0e51',
    950: '#000000',
  },
}
SCSS
$custom: #3a0e51;
$custom-light: #735282;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0e51",
  "rgb": {
    "r": 58,
    "g": 14,
    "b": 81
  },
  "hsl": {
    "h": 279.403,
    "s": 70.526,
    "l": 18.627
  },
  "oklch": {
    "l": 0.27739,
    "c": 0.11652,
    "h": 310.8
  },
  "luminance": 0.01808
}

Semantic roles & 50–950 ramp

primary
#3A0E51
secondary
#4F8C2F
accent
#ED3A78
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08020A
muted
#7B787C

Preview Lab

Preview with #3A0E51

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

Preview Lab → · Contrast checker → · Palette generator →

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