#3A264A#3A264A

#3A264A is a dark, moderate violet. Relative luminance 0.028; OKLCH L 31.0% C 0.067 H 308.6°. Best body text is #FFFFFF at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#3A264A
RGBrgb(58, 38, 74)
HSLhsl(273, 32%, 22%)
HSVhsv(273, 49%, 29%)
CMYKcmyk(21.6%, 48.6%, 0%, 71%)
CIE-LABlab(19.14, 17.58, -18.84)
CIE-LCHlch(19.14, 25.77, 313.03°)
OKLaboklab(31.01% 0.0418 -0.0524)
OKLCHoklch(31.01% 0.067 308.6)
XYZxyz(3.6738, 2.7802, 6.8203)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A264A #364A26
analogous
#28264A #3A264A #4A2648
triadic
#3A264A #4A3A26 #264A3A
tetradic
#3A264A #4A2826 #364A26 #26484A
square
#3A264A #4A2826 #364A26 #26484A
split-complementary
#3A264A #484A26 #264A28
monochromatic
#100A14 #1A1122 #3A264A #5A3B72 #79509B

Accessibility & contrast

On white

13.50
#3A264A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#3A264A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A264A
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A264A#FFFFFF#000000##FFFFFF
##3A264A1.0013.501.5613.50
#FFFFFF13.501.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2E4B
Deuteranopia (green-blind)
#232F49
Tritanopia (blue-blind)
#382C34
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #3a264a;
/* rgb */ color: rgb(58, 38, 74);
/* oklch */ color: oklch(31.0% 0.067 308.6);
Tailwind
colors: {
  custom: {
    50: '#71607c',
    500: '#3a264a',
    950: '#000000',
  },
}
SCSS
$custom: #3a264a;
$custom-light: #71607c;
$custom-dark: #000000;
JSON
{
  "hex": "#3a264a",
  "rgb": {
    "r": 58,
    "g": 38,
    "b": 74
  },
  "hsl": {
    "h": 273.333,
    "s": 32.143,
    "l": 21.961
  },
  "oklch": {
    "l": 0.3101,
    "c": 0.06704,
    "h": 308.6
  },
  "luminance": 0.0278
}

Semantic roles & 50–950 ramp

primary
#3A264A
secondary
#637D4F
accent
#C85F8E
background
#F6F5F7
surface
#ECE9EE
border
#C7C5C9
text
#080509
muted
#7B797B

Preview Lab

Preview with #3A264A

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

Preview Lab → · Contrast checker → · Palette generator →

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