#3A134F#3A134F

#3A134F is a dark, moderate violet. Relative luminance 0.019; OKLCH L 28.2% C 0.108 H 311.2°. Best body text is #FFFFFF at 15.15:1 contrast (WCAG AA passes).

Color values

HEX#3A134F
RGBrgb(58, 19, 79)
HSLhsl(279, 61%, 19%)
HSVhsv(279, 76%, 31%)
CMYKcmyk(26.6%, 75.9%, 0%, 69%)
CIE-LABlab(15.12, 30.45, -28.66)
CIE-LCHlch(15.12, 41.82, 316.73°)
OKLaboklab(28.16% 0.0708 -0.081)
OKLCHoklch(28.16% 0.108 311.2)
XYZxyz(3.3888, 1.9299, 7.5896)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A134F #284F13
analogous
#1C134F #3A134F #4F1346
triadic
#3A134F #4F3A13 #134F3A
tetradic
#3A134F #4F1C13 #284F13 #13464F
square
#3A134F #4F1C13 #284F13 #13464F
split-complementary
#3A134F #464F13 #134F1C
monochromatic
#120619 #16071E #3A134F #5E1F80 #822BB2

Accessibility & contrast

On white

15.15
#3A134F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#3A134F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A134F
15.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A134F#FFFFFF#000000##FFFFFF
##3A134F1.0015.151.3915.15
#FFFFFF15.151.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002451
Deuteranopia (green-blind)
#0B274E
Tritanopia (blue-blind)
#37202F
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3a134f;
/* rgb */ color: rgb(58, 19, 79);
/* oklch */ color: oklch(28.2% 0.108 311.2);
Tailwind
colors: {
  custom: {
    50: '#735481',
    500: '#3a134f',
    950: '#000000',
  },
}
SCSS
$custom: #3a134f;
$custom-light: #735481;
$custom-dark: #000000;
JSON
{
  "hex": "#3a134f",
  "rgb": {
    "r": 58,
    "g": 19,
    "b": 79
  },
  "hsl": {
    "h": 279,
    "s": 61.224,
    "l": 19.216
  },
  "oklch": {
    "l": 0.28164,
    "c": 0.10759,
    "h": 311.2
  },
  "luminance": 0.0193
}

Semantic roles & 50–950 ramp

primary
#3A134F
secondary
#538836
accent
#E4437C
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#08030A
muted
#7B787C

Preview Lab

Preview with #3A134F

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

Preview Lab → · Contrast checker → · Palette generator →

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