#3A0E55#3A0E55

#3A0E55 is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.1% C 0.121 H 308.5°. Best body text is #FFFFFF at 15.29:1 contrast (WCAG AA passes).

Color values

HEX#3A0E55
RGBrgb(58, 14, 85)
HSLhsl(277, 72%, 19%)
HSVhsv(277, 84%, 33%)
CMYKcmyk(31.8%, 83.5%, 0%, 66.7%)
CIE-LABlab(14.79, 34.29, -33.28)
CIE-LCHlch(14.79, 47.79, 315.86°)
OKLaboklab(28.09% 0.0753 -0.0945)
OKLCHoklch(28.09% 0.121 308.5)
XYZxyz(3.5413, 1.8696, 8.7669)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0E55 #29550E
analogous
#170E55 #3A0E55 #550E4D
triadic
#3A0E55 #553A0E #0E553A
tetradic
#3A0E55 #55170E #29550E #0E4D55
square
#3A0E55 #55170E #29550E #0E4D55
split-complementary
#3A0E55 #4D550E #0E5517
monochromatic
#12041A #160520 #3A0E55 #5E178A #821FBE

Accessibility & contrast

On white

15.29
#3A0E55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#3A0E55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A0E55
15.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0E55#FFFFFF#000000##FFFFFF
##3A0E551.0015.291.3715.29
#FFFFFF15.291.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002457
Deuteranopia (green-blind)
#002654
Tritanopia (blue-blind)
#362031
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3a0e55;
/* rgb */ color: rgb(58, 14, 85);
/* oklch */ color: oklch(28.1% 0.121 308.5);
Tailwind
colors: {
  custom: {
    50: '#745285',
    500: '#3a0e55',
    950: '#000000',
  },
}
SCSS
$custom: #3a0e55;
$custom-light: #745285;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0e55",
  "rgb": {
    "r": 58,
    "g": 14,
    "b": 85
  },
  "hsl": {
    "h": 277.183,
    "s": 71.717,
    "l": 19.412
  },
  "oklch": {
    "l": 0.28088,
    "c": 0.12084,
    "h": 308.5
  },
  "luminance": 0.01869
}

Semantic roles & 50–950 ramp

primary
#3A0E55
secondary
#548F30
accent
#EE397E
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08020B
muted
#7B787C

Preview Lab

Preview with #3A0E55

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

Preview Lab → · Contrast checker → · Palette generator →

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