#3A2844#3A2844

#3A2844 is a dark, muted violet. Relative luminance 0.028; OKLCH L 31.1% C 0.054 H 312.9°. Best body text is #FFFFFF at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#3A2844
RGBrgb(58, 40, 68)
HSLhsl(279, 26%, 21%)
HSVhsv(279, 41%, 27%)
CMYKcmyk(14.7%, 41.2%, 0%, 73.3%)
CIE-LABlab(19.37, 14.64, -14.39)
CIE-LCHlch(19.37, 20.53, 315.48°)
OKLaboklab(31.08% 0.0368 -0.0396)
OKLCHoklch(31.08% 0.054 312.9)
XYZxyz(3.5469, 2.8345, 5.8280)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2844 #324428
analogous
#2C2844 #3A2844 #442840
triadic
#3A2844 #443A28 #28443A
tetradic
#3A2844 #442C28 #324428 #284044
square
#3A2844 #442C28 #324428 #284044
split-complementary
#3A2844 #404428 #28442C
monochromatic
#100B13 #19111D #3A2844 #5B3F6B #7C5591

Accessibility & contrast

On white

13.40
#3A2844 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#3A2844 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2844
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2844#FFFFFF#000000##FFFFFF
##3A28441.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232E45
Deuteranopia (green-blind)
#272F43
Tritanopia (blue-blind)
#392C32
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #3a2844;
/* rgb */ color: rgb(58, 40, 68);
/* oklch */ color: oklch(31.1% 0.054 312.9);
Tailwind
colors: {
  custom: {
    50: '#706278',
    500: '#3a2844',
    950: '#000000',
  },
}
SCSS
$custom: #3a2844;
$custom-light: #706278;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2844",
  "rgb": {
    "r": 58,
    "g": 40,
    "b": 68
  },
  "hsl": {
    "h": 278.571,
    "s": 25.926,
    "l": 21.176
  },
  "oklch": {
    "l": 0.31076,
    "c": 0.05411,
    "h": 312.9
  },
  "luminance": 0.02834
}

Semantic roles & 50–950 ramp

primary
#3A2844
secondary
#5F7652
accent
#C26587
background
#F6F5F7
surface
#ECEAED
border
#C7C6C8
text
#070509
muted
#7A797B

Preview Lab

Preview with #3A2844

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

Preview Lab → · Contrast checker → · Palette generator →

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