#3A0E53#3A0E53

#3A0E53 is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.9% C 0.119 H 309.7°. Best body text is #FFFFFF at 15.36:1 contrast (WCAG AA passes).

Color values

HEX#3A0E53
RGBrgb(58, 14, 83)
HSLhsl(278, 71%, 19%)
HSVhsv(278, 83%, 33%)
CMYKcmyk(30.1%, 83.1%, 0%, 67.5%)
CIE-LABlab(14.61, 33.80, -32.20)
CIE-LCHlch(14.61, 46.69, 316.39°)
OKLaboklab(27.91% 0.0758 -0.0913)
OKLCHoklch(27.91% 0.119 309.7)
XYZxyz(3.4630, 1.8382, 8.3543)
Luminance0.0184 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0E53 #27530E
analogous
#180E53 #3A0E53 #530E4A
triadic
#3A0E53 #533A0E #0E533A
tetradic
#3A0E53 #53180E #27530E #0E4A53
square
#3A0E53 #53180E #27530E #0E4A53
split-complementary
#3A0E53 #4A530E #0E5318
monochromatic
#12041A #15051F #3A0E53 #5F1787 #8320BC

Accessibility & contrast

On white

15.36
#3A0E53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A0E53
15.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0E53#FFFFFF#000000##FFFFFF
##3A0E531.0015.361.3715.36
#FFFFFF15.361.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002355
Deuteranopia (green-blind)
#002552
Tritanopia (blue-blind)
#361F30
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3a0e53;
/* rgb */ color: rgb(58, 14, 83);
/* oklch */ color: oklch(27.9% 0.119 309.7);
Tailwind
colors: {
  custom: {
    50: '#745284',
    500: '#3a0e53',
    950: '#000000',
  },
}
SCSS
$custom: #3a0e53;
$custom-light: #745284;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0e53",
  "rgb": {
    "r": 58,
    "g": 14,
    "b": 83
  },
  "hsl": {
    "h": 278.261,
    "s": 71.134,
    "l": 19.02
  },
  "oklch": {
    "l": 0.27913,
    "c": 0.11868,
    "h": 309.7
  },
  "luminance": 0.01838
}

Semantic roles & 50–950 ramp

primary
#3A0E53
secondary
#518D2F
accent
#EE3A7B
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08020B
muted
#7B787C

Preview Lab

Preview with #3A0E53

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

Preview Lab → · Contrast checker → · Palette generator →

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