#3A083E#3A083E

#3A083E is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.6% C 0.105 H 324.7°. Best body text is #FFFFFF at 16.35:1 contrast (WCAG AA passes).

Color values

HEX#3A083E
RGBrgb(58, 8, 62)
HSLhsl(296, 77%, 14%)
HSVhsv(296, 87%, 24%)
CMYKcmyk(6.5%, 87.1%, 0%, 75.7%)
CIE-LABlab(12.10, 31.47, -21.66)
CIE-LCHlch(12.10, 38.20, 325.47°)
OKLaboklab(25.61% 0.0854 -0.0604)
OKLCHoklch(25.61% 0.105 324.7)
XYZxyz(2.7012, 1.4212, 4.6885)
Luminance0.0142 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A083E #0C3E08
analogous
#1F083E #3A083E #3E0827
triadic
#3A083E #3E3A08 #083E3A
tetradic
#3A083E #3E1F08 #0C3E08 #08273E
square
#3A083E #3E1F08 #0C3E08 #08273E
split-complementary
#3A083E #273E08 #083E1F
monochromatic
#19031B #19031B #3A083E #6D0F74 #9F16AA

Accessibility & contrast

On white

16.35
#3A083E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A083E
16.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A083E#FFFFFF#000000##FFFFFF
##3A083E1.0016.351.2816.35
#FFFFFF16.351.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C3F
Deuteranopia (green-blind)
#13223D
Tritanopia (blue-blind)
#3B1223
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #3a083e;
/* rgb */ color: rgb(58, 8, 62);
/* oklch */ color: oklch(25.6% 0.105 324.7);
Tailwind
colors: {
  custom: {
    50: '#734e73',
    500: '#3a083e',
    950: '#000000',
  },
}
SCSS
$custom: #3a083e;
$custom-light: #734e73;
$custom-dark: #000000;
JSON
{
  "hex": "#3a083e",
  "rgb": {
    "r": 58,
    "g": 8,
    "b": 62
  },
  "hsl": {
    "h": 295.556,
    "s": 77.143,
    "l": 13.725
  },
  "oklch": {
    "l": 0.25605,
    "c": 0.10458,
    "h": 324.7
  },
  "luminance": 0.01421
}

Semantic roles & 50–950 ramp

primary
#3A083E
secondary
#2C7D25
accent
#F43442
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #3A083E

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

Preview Lab → · Contrast checker → · Palette generator →

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