#3A0F50#3A0F50

#3A0F50 is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.8% C 0.114 H 311.3°. Best body text is #FFFFFF at 15.40:1 contrast (WCAG AA passes).

Color values

HEX#3A0F50
RGBrgb(58, 15, 80)
HSLhsl(280, 68%, 19%)
HSVhsv(280, 81%, 31%)
CMYKcmyk(27.5%, 81.3%, 0%, 68.6%)
CIE-LABlab(14.52, 32.62, -30.32)
CIE-LCHlch(14.52, 44.53, 317.10°)
OKLaboklab(27.76% 0.0753 -0.0858)
OKLCHoklch(27.76% 0.114 311.3)
XYZxyz(3.3634, 1.8205, 7.7621)
Luminance0.0182 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0F50 #25500F
analogous
#190F50 #3A0F50 #500F45
triadic
#3A0F50 #503A0F #0F503A
tetradic
#3A0F50 #50190F #25500F #0F4550
square
#3A0F50 #50190F #25500F #0F4550
split-complementary
#3A0F50 #45500F #0F5019
monochromatic
#13051A #15051C #3A0F50 #5F1984 #8522B7

Accessibility & contrast

On white

15.40
#3A0F50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A0F50
15.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0F50#FFFFFF#000000##FFFFFF
##3A0F501.0015.401.3615.40
#FFFFFF15.401.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002352
Deuteranopia (green-blind)
#04254F
Tritanopia (blue-blind)
#371E2F
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3a0f50;
/* rgb */ color: rgb(58, 15, 80);
/* oklch */ color: oklch(27.8% 0.114 311.3);
Tailwind
colors: {
  custom: {
    50: '#735282',
    500: '#3a0f50',
    950: '#000000',
  },
}
SCSS
$custom: #3a0f50;
$custom-light: #735282;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0f50",
  "rgb": {
    "r": 58,
    "g": 15,
    "b": 80
  },
  "hsl": {
    "h": 279.692,
    "s": 68.421,
    "l": 18.627
  },
  "oklch": {
    "l": 0.27763,
    "c": 0.11419,
    "h": 311.3
  },
  "luminance": 0.0182
}

Semantic roles & 50–950 ramp

primary
#3A0F50
secondary
#4F8A31
accent
#EB3D78
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#08020A
muted
#7B787C

Preview Lab

Preview with #3A0F50

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

Preview Lab → · Contrast checker → · Palette generator →

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