#3B144F#3B144F

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

Color values

HEX#3B144F
RGBrgb(59, 20, 79)
HSLhsl(280, 60%, 19%)
HSVhsv(280, 75%, 31%)
CMYKcmyk(25.3%, 74.7%, 0%, 69%)
CIE-LABlab(15.46, 30.19, -28.10)
CIE-LCHlch(15.46, 41.24, 317.05°)
OKLaboklab(28.44% 0.0711 -0.0793)
OKLCHoklch(28.44% 0.106 311.9)
XYZxyz(3.4648, 1.9947, 7.5981)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B144F #284F14
analogous
#1E144F #3B144F #4F1446
triadic
#3B144F #4F3B14 #144F3B
tetradic
#3B144F #4F1E14 #284F14 #14464F
square
#3B144F #4F1E14 #284F14 #14464F
split-complementary
#3B144F #464F14 #144F1E
monochromatic
#120618 #17081E #3B144F #5F2080 #842DB1

Accessibility & contrast

On white

15.01
#3B144F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#3B144F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B144F
15.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B144F#FFFFFF#000000##FFFFFF
##3B144F1.0015.011.4015.01
#FFFFFF15.011.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002551
Deuteranopia (green-blind)
#0E274E
Tritanopia (blue-blind)
#39202F
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3b144f;
/* rgb */ color: rgb(59, 20, 79);
/* oklch */ color: oklch(28.4% 0.106 311.9);
Tailwind
colors: {
  custom: {
    50: '#735581',
    500: '#3b144f',
    950: '#000000',
  },
}
SCSS
$custom: #3b144f;
$custom-light: #735581;
$custom-dark: #000000;
JSON
{
  "hex": "#3b144f",
  "rgb": {
    "r": 59,
    "g": 20,
    "b": 79
  },
  "hsl": {
    "h": 279.661,
    "s": 59.596,
    "l": 19.412
  },
  "oklch": {
    "l": 0.28444,
    "c": 0.10649,
    "h": 311.9
  },
  "luminance": 0.01995
}

Semantic roles & 50–950 ramp

primary
#3B144F
secondary
#538738
accent
#E3457B
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#08030A
muted
#7B787C

Preview Lab

Preview with #3B144F

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

Preview Lab → · Contrast checker → · Palette generator →

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