#3A244F#3A244F

#3A244F is a dark, moderate violet. Relative luminance 0.027; OKLCH L 30.9% C 0.078 H 306.0°. Best body text is #FFFFFF at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#3A244F
RGBrgb(58, 36, 79)
HSLhsl(271, 37%, 23%)
HSVhsv(271, 54%, 31%)
CMYKcmyk(26.6%, 54.4%, 0%, 69%)
CIE-LABlab(18.91, 20.29, -22.60)
CIE-LCHlch(18.91, 30.37, 311.93°)
OKLaboklab(30.94% 0.0459 -0.0633)
OKLCHoklch(30.94% 0.078 306)
XYZxyz(3.7868, 2.7258, 7.7223)
Luminance0.0273 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A244F #394F24
analogous
#25244F #3A244F #4F244E
triadic
#3A244F #4F3A24 #244F3A
tetradic
#3A244F #4F2524 #394F24 #244E4F
square
#3A244F #4F2524 #394F24 #244E4F
split-complementary
#3A244F #4E4F24 #244F25
monochromatic
#0F0A15 #1B1125 #3A244F #593779 #784AA3

Accessibility & contrast

On white

13.59
#3A244F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#3A244F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A244F
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A244F#FFFFFF#000000##FFFFFF
##3A244F1.0013.591.5513.59
#FFFFFF13.591.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182D50
Deuteranopia (green-blind)
#1E2E4E
Tritanopia (blue-blind)
#372B35
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #3a244f;
/* rgb */ color: rgb(58, 36, 79);
/* oklch */ color: oklch(30.9% 0.078 306.0);
Tailwind
colors: {
  custom: {
    50: '#715f80',
    500: '#3a244f',
    950: '#000000',
  },
}
SCSS
$custom: #3a244f;
$custom-light: #715f80;
$custom-dark: #000000;
JSON
{
  "hex": "#3a244f",
  "rgb": {
    "r": 58,
    "g": 36,
    "b": 79
  },
  "hsl": {
    "h": 270.698,
    "s": 37.391,
    "l": 22.549
  },
  "oklch": {
    "l": 0.30935,
    "c": 0.07822,
    "h": 306
  },
  "luminance": 0.02726
}

Semantic roles & 50–950 ramp

primary
#3A244F
secondary
#67824C
accent
#CD5A93
background
#F6F5F7
surface
#ECE9EE
border
#C7C5C9
text
#08040A
muted
#7B797C

Preview Lab

Preview with #3A244F

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

Preview Lab → · Contrast checker → · Palette generator →

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