#3A083D#3A083D

#3A083D is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.5% C 0.104 H 325.5°. Best body text is #FFFFFF at 16.38:1 contrast (WCAG AA passes).

Color values

HEX#3A083D
RGBrgb(58, 8, 61)
HSLhsl(297, 77%, 14%)
HSVhsv(297, 87%, 24%)
CMYKcmyk(4.9%, 86.9%, 0%, 76.1%)
CIE-LABlab(12.03, 31.27, -21.06)
CIE-LCHlch(12.03, 37.70, 326.04°)
OKLaboklab(25.53% 0.0855 -0.0586)
OKLCHoklch(25.53% 0.104 325.5)
XYZxyz(2.6740, 1.4103, 4.5453)
Luminance0.0141 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A083D #0B3D08
analogous
#1F083D #3A083D #3D0825
triadic
#3A083D #3D3A08 #083D3A
tetradic
#3A083D #3D1F08 #0B3D08 #08253D
square
#3A083D #3D1F08 #0B3D08 #08253D
split-complementary
#3A083D #253D08 #083D1F
monochromatic
#1A041B #1A041B #3A083D #6D0F73 #A116A9

Accessibility & contrast

On white

16.38
#3A083D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#3A083D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A083D
16.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A083D#FFFFFF#000000##FFFFFF
##3A083D1.0016.381.2816.38
#FFFFFF16.381.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C3E
Deuteranopia (green-blind)
#14223C
Tritanopia (blue-blind)
#3C1222
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #3a083d;
/* rgb */ color: rgb(58, 8, 61);
/* oklch */ color: oklch(25.5% 0.104 325.5);
Tailwind
colors: {
  custom: {
    50: '#734e73',
    500: '#3a083d',
    950: '#000000',
  },
}
SCSS
$custom: #3a083d;
$custom-light: #734e73;
$custom-dark: #000000;
JSON
{
  "hex": "#3a083d",
  "rgb": {
    "r": 58,
    "g": 8,
    "b": 61
  },
  "hsl": {
    "h": 296.604,
    "s": 76.812,
    "l": 13.529
  },
  "oklch": {
    "l": 0.25531,
    "c": 0.10364,
    "h": 325.5
  },
  "luminance": 0.0141
}

Semantic roles & 50–950 ramp

primary
#3A083D
secondary
#2A7C25
accent
#F3343F
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#080208
muted
#7B787B

Preview Lab

Preview with #3A083D

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

Preview Lab → · Contrast checker → · Palette generator →

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