#3A144F#3A144F

#3A144F is a dark, moderate violet. Relative luminance 0.020; OKLCH L 28.3% C 0.106 H 311.0°. Best body text is #FFFFFF at 15.08:1 contrast (WCAG AA passes).

Color values

HEX#3A144F
RGBrgb(58, 20, 79)
HSLhsl(279, 60%, 19%)
HSVhsv(279, 75%, 31%)
CMYKcmyk(26.6%, 74.7%, 0%, 69%)
CIE-LABlab(15.30, 29.93, -28.37)
CIE-LCHlch(15.30, 41.24, 316.54°)
OKLaboklab(28.3% 0.0696 -0.0801)
OKLCHoklch(28.3% 0.106 311)
XYZxyz(3.4061, 1.9644, 7.5954)
Luminance0.0196 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A144F #294F14
analogous
#1D144F #3A144F #4F1447
triadic
#3A144F #4F3A14 #144F3A
tetradic
#3A144F #4F1D14 #294F14 #14474F
square
#3A144F #4F1D14 #294F14 #14474F
split-complementary
#3A144F #474F14 #144F1D
monochromatic
#120618 #16081E #3A144F #5E2080 #822DB1

Accessibility & contrast

On white

15.08
#3A144F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A144F
15.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A144F#FFFFFF#000000##FFFFFF
##3A144F1.0015.081.3915.08
#FFFFFF15.081.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a144f;
/* rgb */ color: rgb(58, 20, 79);
/* oklch */ color: oklch(28.3% 0.106 311.0);
Tailwind
colors: {
  custom: {
    50: '#735581',
    500: '#3a144f',
    950: '#000000',
  },
}
SCSS
$custom: #3a144f;
$custom-light: #735581;
$custom-dark: #000000;
JSON
{
  "hex": "#3a144f",
  "rgb": {
    "r": 58,
    "g": 20,
    "b": 79
  },
  "hsl": {
    "h": 278.644,
    "s": 59.596,
    "l": 19.412
  },
  "oklch": {
    "l": 0.28296,
    "c": 0.10611,
    "h": 311
  },
  "luminance": 0.01964
}

Semantic roles & 50–950 ramp

primary
#3A144F
secondary
#548738
accent
#E3457D
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#08030A
muted
#7B787C

Preview Lab

Preview with #3A144F

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

Preview Lab → · Contrast checker → · Palette generator →

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