#3F189F#3F189F

#3F189F is a dark, vivid violet. Relative luminance 0.042; OKLCH L 37.1% C 0.194 H 285.1°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#3F189F
RGBrgb(63, 24, 159)
HSLhsl(257, 74%, 36%)
HSVhsv(257, 85%, 62%)
CMYKcmyk(60.4%, 84.9%, 0%, 37.6%)
CIE-LABlab(24.36, 50.78, -64.96)
CIE-LCHlch(24.36, 82.45, 308.01°)
OKLaboklab(37.13% 0.0505 -0.1872)
OKLCHoklch(37.13% 0.194 285.1)
XYZxyz(8.6326, 4.2127, 33.1524)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F189F #789F18
analogous
#18359F #3F189F #82189F
triadic
#3F189F #9F3F18 #189F3F
tetradic
#3F189F #9F1835 #789F18 #189F82
square
#3F189F #9F1835 #789F18 #189F82
split-complementary
#3F189F #9F8218 #359F18
monochromatic
#150835 #2A106A #3F189F #5420D4 #794DE4

Accessibility & contrast

On white

11.40
#3F189F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#3F189F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F189F
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F189F#FFFFFF#000000##FFFFFF
##3F189F1.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA3
Deuteranopia (green-blind)
#00369D
Tritanopia (blue-blind)
#00435E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #3f189f;
/* rgb */ color: rgb(63, 24, 159);
/* oklch */ color: oklch(37.1% 0.194 285.1);
Tailwind
colors: {
  custom: {
    50: '#815cbd',
    500: '#3f189f',
    950: '#000000',
  },
}
SCSS
$custom: #3f189f;
$custom-light: #815cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#3f189f",
  "rgb": {
    "r": 63,
    "g": 24,
    "b": 159
  },
  "hsl": {
    "h": 257.333,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.37132,
    "c": 0.19389,
    "h": 285.1
  },
  "luminance": 0.04213
}

Semantic roles & 50–950 ramp

primary
#3F189F
secondary
#A3C64D
accent
#F037BB
background
#F8F5FB
surface
#F0E9F7
border
#CBC5D0
text
#0C0412
muted
#7D7981

Preview Lab

Preview with #3F189F

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

Preview Lab → · Contrast checker → · Palette generator →

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