#3A0E60#3A0E60

#3A0E60 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.1% C 0.133 H 302.9°. Best body text is #FFFFFF at 14.88:1 contrast (WCAG AA passes).

Color values

HEX#3A0E60
RGBrgb(58, 14, 96)
HSLhsl(272, 75%, 22%)
HSVhsv(272, 85%, 38%)
CMYKcmyk(39.6%, 85.4%, 0%, 62.4%)
CIE-LABlab(15.79, 37.08, -39.04)
CIE-LCHlch(15.79, 53.84, 313.53°)
OKLaboklab(29.1% 0.0721 -0.1114)
OKLCHoklch(29.1% 0.133 302.9)
XYZxyz(4.0128, 2.0581, 11.2499)
Luminance0.0206 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0E60 #34600E
analogous
#110E60 #3A0E60 #600E5D
triadic
#3A0E60 #603A0E #0E603A
tetradic
#3A0E60 #60110E #34600E #0E5D60
square
#3A0E60 #60110E #34600E #0E5D60
split-complementary
#3A0E60 #5D600E #0E6011
monochromatic
#10041B #1A062B #3A0E60 #5A1695 #7B1ECB

Accessibility & contrast

On white

14.88
#3A0E60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A0E60
14.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0E60#FFFFFF#000000##FFFFFF
##3A0E601.0014.881.4114.88
#FFFFFF14.881.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a0e60;
/* rgb */ color: rgb(58, 14, 96);
/* oklch */ color: oklch(29.1% 0.133 302.9);
Tailwind
colors: {
  custom: {
    50: '#75538e',
    500: '#3a0e60',
    950: '#000000',
  },
}
SCSS
$custom: #3a0e60;
$custom-light: #75538e;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0e60",
  "rgb": {
    "r": 58,
    "g": 14,
    "b": 96
  },
  "hsl": {
    "h": 272.195,
    "s": 74.545,
    "l": 21.569
  },
  "oklch": {
    "l": 0.29101,
    "c": 0.13275,
    "h": 302.9
  },
  "luminance": 0.02058
}

Semantic roles & 50–950 ramp

primary
#3A0E60
secondary
#619A30
accent
#F1378D
background
#F7F4F8
surface
#EDE7F0
border
#C8C3CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3A0E60

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

Preview Lab → · Contrast checker → · Palette generator →

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