#3A0F53#3A0F53

#3A0F53 is a dark, moderate violet. Relative luminance 0.019; OKLCH L 28.0% C 0.117 H 309.5°. Best body text is #FFFFFF at 15.29:1 contrast (WCAG AA passes).

Color values

HEX#3A0F53
RGBrgb(58, 15, 83)
HSLhsl(278, 69%, 19%)
HSVhsv(278, 82%, 33%)
CMYKcmyk(30.1%, 81.9%, 0%, 67.5%)
CIE-LABlab(14.77, 33.36, -31.96)
CIE-LCHlch(14.77, 46.20, 316.23°)
OKLaboklab(28.02% 0.0747 -0.0906)
OKLCHoklch(28.02% 0.117 309.5)
XYZxyz(3.4768, 1.8658, 8.3589)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0F53 #28530F
analogous
#180F53 #3A0F53 #530F4A
triadic
#3A0F53 #533A0F #0F533A
tetradic
#3A0F53 #53180F #28530F #0F4A53
square
#3A0F53 #53180F #28530F #0F4A53
split-complementary
#3A0F53 #4A530F #0F5318
monochromatic
#12051A #16061F #3A0F53 #5E1887 #8222BB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A0F53#FFFFFF#000000##FFFFFF
##3A0F531.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)
#002355
Deuteranopia (green-blind)
#002652
Tritanopia (blue-blind)
#361F30
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3a0f53;
/* rgb */ color: rgb(58, 15, 83);
/* oklch */ color: oklch(28.0% 0.117 309.5);
Tailwind
colors: {
  custom: {
    50: '#735384',
    500: '#3a0f53',
    950: '#000000',
  },
}
SCSS
$custom: #3a0f53;
$custom-light: #735384;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0f53",
  "rgb": {
    "r": 58,
    "g": 15,
    "b": 83
  },
  "hsl": {
    "h": 277.941,
    "s": 69.388,
    "l": 19.216
  },
  "oklch": {
    "l": 0.2802,
    "c": 0.11747,
    "h": 309.5
  },
  "luminance": 0.01866
}

Semantic roles & 50–950 ramp

primary
#3A0F53
secondary
#538D31
accent
#EC3C7D
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08020B
muted
#7B787C

Preview Lab

Preview with #3A0F53

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

Preview Lab → · Contrast checker → · Palette generator →

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