#3A244A#3A244A

#3A244A is a dark, moderate violet. Relative luminance 0.027; OKLCH L 30.6% C 0.071 H 309.5°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#3A244A
RGBrgb(58, 36, 74)
HSLhsl(275, 35%, 22%)
HSVhsv(275, 51%, 29%)
CMYKcmyk(21.6%, 51.4%, 0%, 71%)
CIE-LABlab(18.61, 18.92, -19.68)
CIE-LCHlch(18.61, 27.30, 313.87°)
OKLaboklab(30.61% 0.0452 -0.0548)
OKLCHoklch(30.61% 0.071 309.5)
XYZxyz(3.6116, 2.6558, 6.7996)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A244A #344A24
analogous
#27244A #3A244A #4A2447
triadic
#3A244A #4A3A24 #244A3A
tetradic
#3A244A #4A2724 #344A24 #24474A
square
#3A244A #4A2724 #344A24 #24474A
split-complementary
#3A244A #474A24 #244A27
monochromatic
#100A15 #1A1021 #3A244A #5A3873 #7B4C9C

Accessibility & contrast

On white

13.71
#3A244A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#3A244A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A244A
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A244A#FFFFFF#000000##FFFFFF
##3A244A1.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2C4B
Deuteranopia (green-blind)
#212E49
Tritanopia (blue-blind)
#382A33
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #3a244a;
/* rgb */ color: rgb(58, 36, 74);
/* oklch */ color: oklch(30.6% 0.071 309.5);
Tailwind
colors: {
  custom: {
    50: '#715f7c',
    500: '#3a244a',
    950: '#000000',
  },
}
SCSS
$custom: #3a244a;
$custom-light: #715f7c;
$custom-dark: #000000;
JSON
{
  "hex": "#3a244a",
  "rgb": {
    "r": 58,
    "g": 36,
    "b": 74
  },
  "hsl": {
    "h": 274.737,
    "s": 34.545,
    "l": 21.569
  },
  "oklch": {
    "l": 0.30611,
    "c": 0.07105,
    "h": 309.5
  },
  "luminance": 0.02656
}

Semantic roles & 50–950 ramp

primary
#3A244A
secondary
#617D4D
accent
#CB5D8B
background
#F6F5F7
surface
#ECE9EE
border
#C7C5C9
text
#080409
muted
#7B797B

Preview Lab

Preview with #3A244A

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

Preview Lab → · Contrast checker → · Palette generator →

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