#3A144E#3A144E

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

Color values

HEX#3A144E
RGBrgb(58, 20, 78)
HSLhsl(279, 59%, 19%)
HSVhsv(279, 74%, 31%)
CMYKcmyk(25.6%, 74.4%, 0%, 69.4%)
CIE-LABlab(15.22, 29.68, -27.80)
CIE-LCHlch(15.22, 40.67, 316.87°)
OKLaboklab(28.22% 0.0697 -0.0785)
OKLCHoklch(28.22% 0.105 311.6)
XYZxyz(3.3700, 1.9500, 7.4051)
Luminance0.0195 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A144E #284E14
analogous
#1D144E #3A144E #4E1445
triadic
#3A144E #4E3A14 #144E3A
tetradic
#3A144E #4E1D14 #284E14 #14454E
square
#3A144E #4E1D14 #284E14 #14454E
split-complementary
#3A144E #454E14 #144E1D
monochromatic
#120618 #16081D #3A144E #5E207F #822DAF

Accessibility & contrast

On white

15.11
#3A144E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A144E
15.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A144E#FFFFFF#000000##FFFFFF
##3A144E1.0015.111.3915.11
#FFFFFF15.111.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002450
Deuteranopia (green-blind)
#0D274D
Tritanopia (blue-blind)
#38202F
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3a144e;
/* rgb */ color: rgb(58, 20, 78);
/* oklch */ color: oklch(28.2% 0.105 311.6);
Tailwind
colors: {
  custom: {
    50: '#735580',
    500: '#3a144e',
    950: '#000000',
  },
}
SCSS
$custom: #3a144e;
$custom-light: #735580;
$custom-dark: #000000;
JSON
{
  "hex": "#3a144e",
  "rgb": {
    "r": 58,
    "g": 20,
    "b": 78
  },
  "hsl": {
    "h": 279.31,
    "s": 59.184,
    "l": 19.216
  },
  "oklch": {
    "l": 0.28216,
    "c": 0.10494,
    "h": 311.6
  },
  "luminance": 0.0195
}

Semantic roles & 50–950 ramp

primary
#3A144E
secondary
#538638
accent
#E2457C
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#08030A
muted
#7B787C

Preview Lab

Preview with #3A144E

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

Preview Lab → · Contrast checker → · Palette generator →

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