#3F289B#3F289B

#3F289B is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.5% C 0.175 H 283.7°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#3F289B
RGBrgb(63, 40, 155)
HSLhsl(252, 59%, 38%)
HSVhsv(252, 74%, 61%)
CMYKcmyk(59.4%, 74.2%, 0%, 39.2%)
CIE-LABlab(26.56, 42.07, -58.89)
CIE-LCHlch(26.56, 72.37, 305.54°)
OKLaboklab(38.54% 0.0415 -0.1696)
OKLCHoklch(38.54% 0.175 283.7)
XYZxyz(8.7233, 4.9403, 31.4979)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F289B #849B28
analogous
#284A9B #3F289B #78289B
triadic
#3F289B #9B3F28 #289B3F
tetradic
#3F289B #9B284A #849B28 #289B78
square
#3F289B #9B284A #849B28 #289B78
split-complementary
#3F289B #9B7828 #4A9B28
monochromatic
#170F3A #2B1B6A #3F289B #5335CB #7D66D7

Accessibility & contrast

On white

10.56
#3F289B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#3F289B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F289B
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F289B#FFFFFF#000000##FFFFFF
##3F289B1.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429E
Deuteranopia (green-blind)
#003B99
Tritanopia (blue-blind)
#07485F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3f289b;
/* rgb */ color: rgb(63, 40, 155);
/* oklch */ color: oklch(38.5% 0.175 283.7);
Tailwind
colors: {
  custom: {
    50: '#7f65ba',
    500: '#3f289b',
    950: '#000000',
  },
}
SCSS
$custom: #3f289b;
$custom-light: #7f65ba;
$custom-dark: #000000;
JSON
{
  "hex": "#3f289b",
  "rgb": {
    "r": 63,
    "g": 40,
    "b": 155
  },
  "hsl": {
    "h": 252,
    "s": 58.974,
    "l": 38.235
  },
  "oklch": {
    "l": 0.38543,
    "c": 0.17464,
    "h": 283.7
  },
  "luminance": 0.04941
}

Semantic roles & 50–950 ramp

primary
#3F289B
secondary
#ABBD61
accent
#E246C3
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3F289B

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

Preview Lab → · Contrast checker → · Palette generator →

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