#3B189F#3B189F

#3B189F is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.8% C 0.194 H 283.1°. Best body text is #FFFFFF at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#3B189F
RGBrgb(59, 24, 159)
HSLhsl(256, 74%, 36%)
HSVhsv(256, 85%, 62%)
CMYKcmyk(62.9%, 84.9%, 0%, 37.6%)
CIE-LABlab(23.95, 50.38, -65.65)
CIE-LCHlch(23.95, 82.76, 307.51°)
OKLaboklab(36.75% 0.0441 -0.1893)
OKLCHoklch(36.75% 0.194 283.1)
XYZxyz(8.3863, 4.0857, 33.1409)
Luminance0.0409 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B189F #7C9F18
analogous
#18389F #3B189F #7E189F
triadic
#3B189F #9F3B18 #189F3B
tetradic
#3B189F #9F1838 #7C9F18 #189F7E
square
#3B189F #9F1838 #7C9F18 #189F7E
split-complementary
#3B189F #9F7E18 #389F18
monochromatic
#140835 #27106A #3B189F #4F20D4 #744DE4

Accessibility & contrast

On white

11.56
#3B189F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#3B189F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B189F
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B189F#FFFFFF#000000##FFFFFF
##3B189F1.0011.561.8211.56
#FFFFFF11.561.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA3
Deuteranopia (green-blind)
#00349D
Tritanopia (blue-blind)
#00435E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #3b189f;
/* rgb */ color: rgb(59, 24, 159);
/* oklch */ color: oklch(36.8% 0.194 283.1);
Tailwind
colors: {
  custom: {
    50: '#7f5cbd',
    500: '#3b189f',
    950: '#000000',
  },
}
SCSS
$custom: #3b189f;
$custom-light: #7f5cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#3b189f",
  "rgb": {
    "r": 59,
    "g": 24,
    "b": 159
  },
  "hsl": {
    "h": 255.556,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.36753,
    "c": 0.19439,
    "h": 283.1
  },
  "luminance": 0.04086
}

Semantic roles & 50–950 ramp

primary
#3B189F
secondary
#A7C64D
accent
#F037C0
background
#F8F5FB
surface
#F0E9F7
border
#CBC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #3B189F

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

Preview Lab → · Contrast checker → · Palette generator →

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