#3B149F#3B149F

#3B149F is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.4% C 0.197 H 283.5°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#3B149F
RGBrgb(59, 20, 159)
HSLhsl(257, 78%, 35%)
HSVhsv(257, 87%, 62%)
CMYKcmyk(62.9%, 87.4%, 0%, 37.6%)
CIE-LABlab(23.45, 51.88, -66.49)
CIE-LCHlch(23.45, 84.33, 307.97°)
OKLaboklab(36.41% 0.0459 -0.1917)
OKLCHoklch(36.41% 0.197 283.5)
XYZxyz(8.3099, 3.9327, 33.1154)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B149F #789F14
analogous
#14329F #3B149F #81149F
triadic
#3B149F #9F3B14 #149F3B
tetradic
#3B149F #9F1432 #789F14 #149F81
square
#3B149F #9F1432 #789F14 #149F81
split-complementary
#3B149F #9F8114 #329F14
monochromatic
#130632 #270D69 #3B149F #4F1BD5 #7346E8

Accessibility & contrast

On white

11.75
#3B149F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#3B149F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B149F
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B149F#FFFFFF#000000##FFFFFF
##3B149F1.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003CA3
Deuteranopia (green-blind)
#00339D
Tritanopia (blue-blind)
#00425D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #3b149f;
/* rgb */ color: rgb(59, 20, 159);
/* oklch */ color: oklch(36.4% 0.197 283.5);
Tailwind
colors: {
  custom: {
    50: '#7f5abd',
    500: '#3b149f',
    950: '#000000',
  },
}
SCSS
$custom: #3b149f;
$custom-light: #7f5abd;
$custom-dark: #000000;
JSON
{
  "hex": "#3b149f",
  "rgb": {
    "r": 59,
    "g": 20,
    "b": 159
  },
  "hsl": {
    "h": 256.835,
    "s": 77.654,
    "l": 35.098
  },
  "oklch": {
    "l": 0.36409,
    "c": 0.1971,
    "h": 283.5
  },
  "luminance": 0.03933
}

Semantic roles & 50–950 ramp

primary
#3B149F
secondary
#A4C846
accent
#F434BE
background
#F8F5FB
surface
#F0E9F7
border
#CBC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #3B149F

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

Preview Lab → · Contrast checker → · Palette generator →

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