#3A364E#3A364E

#3A364E is a dark, muted violet. Relative luminance 0.041; OKLCH L 34.7% C 0.042 H 291.7°. Best body text is #FFFFFF at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#3A364E
RGBrgb(58, 54, 78)
HSLhsl(250, 18%, 26%)
HSVhsv(250, 31%, 31%)
CMYKcmyk(25.6%, 30.8%, 0%, 69.4%)
CIE-LABlab(23.96, 7.82, -14.03)
CIE-LCHlch(23.96, 16.06, 299.13°)
OKLaboklab(34.75% 0.0154 -0.0387)
OKLCHoklch(34.75% 0.042 291.7)
XYZxyz(4.4389, 4.0879, 7.7614)
Luminance0.0409 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A364E #4A4E36
analogous
#363E4E #3A364E #46364E
triadic
#3A364E #4E3A36 #364E3A
tetradic
#3A364E #4E363E #4A4E36 #364E46
square
#3A364E #4E363E #4A4E36 #364E46
split-complementary
#3A364E #4E4636 #3E4E36
monochromatic
#0D0D12 #1F1D2A #3A364E #554F72 #706896

Accessibility & contrast

On white

11.55
#3A364E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#3A364E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A364E
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A364E#FFFFFF#000000##FFFFFF
##3A364E1.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30394F
Deuteranopia (green-blind)
#30394D
Tritanopia (blue-blind)
#363A3E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #3a364e;
/* rgb */ color: rgb(58, 54, 78);
/* oklch */ color: oklch(34.7% 0.042 291.7);
Tailwind
colors: {
  custom: {
    50: '#706d7f',
    500: '#3a364e',
    950: '#000000',
  },
}
SCSS
$custom: #3a364e;
$custom-light: #706d7f;
$custom-dark: #000000;
JSON
{
  "hex": "#3a364e",
  "rgb": {
    "r": 58,
    "g": 54,
    "b": 78
  },
  "hsl": {
    "h": 250,
    "s": 18.182,
    "l": 25.882
  },
  "oklch": {
    "l": 0.34747,
    "c": 0.04164,
    "h": 291.7
  },
  "luminance": 0.04088
}

Semantic roles & 50–950 ramp

primary
#3A364E
secondary
#797E62
accent
#BB6DAE
background
#F6F6F7
surface
#ECEBEE
border
#C7C6C9
text
#07070A
muted
#7A7A7C

Preview Lab

Preview with #3A364E

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

Preview Lab → · Contrast checker → · Palette generator →

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