#3A083C#3A083C

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

Color values

HEX#3A083C
RGBrgb(58, 8, 60)
HSLhsl(298, 76%, 13%)
HSVhsv(298, 87%, 24%)
CMYKcmyk(3.3%, 86.7%, 0%, 76.5%)
CIE-LABlab(11.96, 31.07, -20.46)
CIE-LCHlch(11.96, 37.20, 326.63°)
OKLaboklab(25.46% 0.0855 -0.0569)
OKLCHoklch(25.46% 0.103 326.4)
XYZxyz(2.6473, 1.3996, 4.4048)
Luminance0.0140 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A083C #0A3C08
analogous
#20083C #3A083C #3C0824
triadic
#3A083C #3C3A08 #083C3A
tetradic
#3A083C #3C2008 #0A3C08 #08243C
square
#3A083C #3C2008 #0A3C08 #08243C
split-complementary
#3A083C #243C08 #083C20
monochromatic
#1A041B #1A041B #3A083C #6E0F72 #A216A8

Accessibility & contrast

On white

16.41
#3A083C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A083C
16.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A083C#FFFFFF#000000##FFFFFF
##3A083C1.0016.411.2816.41
#FFFFFF16.411.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B3D
Deuteranopia (green-blind)
#15223B
Tritanopia (blue-blind)
#3C1122
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #3a083c;
/* rgb */ color: rgb(58, 8, 60);
/* oklch */ color: oklch(25.5% 0.103 326.4);
Tailwind
colors: {
  custom: {
    50: '#734e72',
    500: '#3a083c',
    950: '#000000',
  },
}
SCSS
$custom: #3a083c;
$custom-light: #734e72;
$custom-dark: #000000;
JSON
{
  "hex": "#3a083c",
  "rgb": {
    "r": 58,
    "g": 8,
    "b": 60
  },
  "hsl": {
    "h": 297.692,
    "s": 76.471,
    "l": 13.333
  },
  "oklch": {
    "l": 0.25457,
    "c": 0.10271,
    "h": 326.4
  },
  "luminance": 0.01399
}

Semantic roles & 50–950 ramp

primary
#3A083C
secondary
#287B25
accent
#F3353C
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#080208
muted
#7B787B

Preview Lab

Preview with #3A083C

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

Preview Lab → · Contrast checker → · Palette generator →

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