#3A2848#3A2848

#3A2848 is a dark, moderate violet. Relative luminance 0.029; OKLCH L 31.3% C 0.060 H 309.1°. Best body text is #FFFFFF at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#3A2848
RGBrgb(58, 40, 72)
HSLhsl(274, 29%, 22%)
HSVhsv(274, 44%, 28%)
CMYKcmyk(19.4%, 44.4%, 0%, 71.8%)
CIE-LABlab(19.58, 15.70, -16.80)
CIE-LCHlch(19.58, 22.99, 313.06°)
OKLaboklab(31.3% 0.0379 -0.0465)
OKLCHoklch(31.3% 0.06 309.1)
XYZxyz(3.6732, 2.8850, 6.4930)
Luminance0.0289 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2848 #364828
analogous
#2A2848 #3A2848 #482846
triadic
#3A2848 #483A28 #28483A
tetradic
#3A2848 #482A28 #364828 #284648
square
#3A2848 #482A28 #364828 #284648
split-complementary
#3A2848 #464828 #28482A
monochromatic
#100B14 #1A1221 #3A2848 #5A3E6F #795497

Accessibility & contrast

On white

13.32
#3A2848 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#3A2848 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2848
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2848#FFFFFF#000000##FFFFFF
##3A28481.0013.321.5813.32
#FFFFFF13.321.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212F49
Deuteranopia (green-blind)
#263047
Tritanopia (blue-blind)
#382D34
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #3a2848;
/* rgb */ color: rgb(58, 40, 72);
/* oklch */ color: oklch(31.3% 0.060 309.1);
Tailwind
colors: {
  custom: {
    50: '#71627b',
    500: '#3a2848',
    950: '#000000',
  },
}
SCSS
$custom: #3a2848;
$custom-light: #71627b;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2848",
  "rgb": {
    "r": 58,
    "g": 40,
    "b": 72
  },
  "hsl": {
    "h": 273.75,
    "s": 28.571,
    "l": 21.961
  },
  "oklch": {
    "l": 0.31302,
    "c": 0.06,
    "h": 309.1
  },
  "luminance": 0.02885
}

Semantic roles & 50–950 ramp

primary
#3A2848
secondary
#637A52
accent
#C5638E
background
#F6F5F7
surface
#ECEAED
border
#C7C6C8
text
#070509
muted
#7A797B

Preview Lab

Preview with #3A2848

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

Preview Lab → · Contrast checker → · Palette generator →

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