#3A083B#3A083B

#3A083B is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.4% C 0.102 H 327.2°. Best body text is #FFFFFF at 16.43:1 contrast (WCAG AA passes).

Color values

HEX#3A083B
RGBrgb(58, 8, 59)
HSLhsl(299, 76%, 13%)
HSVhsv(299, 86%, 23%)
CMYKcmyk(1.7%, 86.4%, 0%, 76.9%)
CIE-LABlab(11.89, 30.86, -19.85)
CIE-LCHlch(11.89, 36.70, 327.25°)
OKLaboklab(25.39% 0.0856 -0.0551)
OKLCHoklch(25.39% 0.102 327.2)
XYZxyz(2.6211, 1.3892, 4.2669)
Luminance0.0139 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A083B #093B08
analogous
#20083B #3A083B #3B0822
triadic
#3A083B #3B3A08 #083B3A
tetradic
#3A083B #3B2008 #093B08 #08223B
square
#3A083B #3B2008 #093B08 #08223B
split-complementary
#3A083B #223B08 #083B20
monochromatic
#1A041B #1A041B #3A083B #6F0F71 #A417A7

Accessibility & contrast

On white

16.43
#3A083B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A083B
16.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A083B#FFFFFF#000000##FFFFFF
##3A083B1.0016.431.2816.43
#FFFFFF16.431.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B3C
Deuteranopia (green-blind)
#15213A
Tritanopia (blue-blind)
#3C1121
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #3a083b;
/* rgb */ color: rgb(58, 8, 59);
/* oklch */ color: oklch(25.4% 0.102 327.2);
Tailwind
colors: {
  custom: {
    50: '#734e71',
    500: '#3a083b',
    950: '#000000',
  },
}
SCSS
$custom: #3a083b;
$custom-light: #734e71;
$custom-dark: #000000;
JSON
{
  "hex": "#3a083b",
  "rgb": {
    "r": 58,
    "g": 8,
    "b": 59
  },
  "hsl": {
    "h": 298.824,
    "s": 76.119,
    "l": 13.137
  },
  "oklch": {
    "l": 0.25385,
    "c": 0.10178,
    "h": 327.2
  },
  "luminance": 0.01389
}

Semantic roles & 50–950 ramp

primary
#3A083B
secondary
#277A25
accent
#F33539
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#080207
muted
#7B787A

Preview Lab

Preview with #3A083B

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

Preview Lab → · Contrast checker → · Palette generator →

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