#3F3087#3F3087

#3F3087 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.0% C 0.139 H 285.6°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#3F3087
RGBrgb(63, 48, 135)
HSLhsl(250, 48%, 36%)
HSVhsv(250, 64%, 53%)
CMYKcmyk(53.3%, 64.4%, 0%, 47.1%)
CIE-LABlab(26.50, 31.05, -46.64)
CIE-LCHlch(26.50, 56.03, 303.65°)
OKLaboklab(37.95% 0.0373 -0.1337)
OKLCHoklch(37.95% 0.139 285.6)
XYZxyz(7.4787, 4.9196, 23.4725)
Luminance0.0492 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3087 #788730
analogous
#304C87 #3F3087 #6A3087
triadic
#3F3087 #873F30 #30873F
tetradic
#3F3087 #87304C #788730 #30876A
square
#3F3087 #87304C #788730 #30876A
split-complementary
#3F3087 #876A30 #4C8730
monochromatic
#15102D #2A205A #3F3087 #5440B4 #7968C9

Accessibility & contrast

On white

10.58
#3F3087 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#3F3087 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3087
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3087#FFFFFF#000000##FFFFFF
##3F30871.0010.581.9810.58
#FFFFFF10.581.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418A
Deuteranopia (green-blind)
#003C85
Tritanopia (blue-blind)
#234557
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3f3087;
/* rgb */ color: rgb(63, 48, 135);
/* oklch */ color: oklch(38.0% 0.139 285.6);
Tailwind
colors: {
  custom: {
    50: '#7b69ab',
    500: '#3f3087',
    950: '#000000',
  },
}
SCSS
$custom: #3f3087;
$custom-light: #7b69ab;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3087",
  "rgb": {
    "r": 63,
    "g": 48,
    "b": 135
  },
  "hsl": {
    "h": 250.345,
    "s": 47.541,
    "l": 35.882
  },
  "oklch": {
    "l": 0.37951,
    "c": 0.13883,
    "h": 285.6
  },
  "luminance": 0.0492
}

Semantic roles & 50–950 ramp

primary
#3F3087
secondary
#A3B162
accent
#D751C0
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #3F3087

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

Preview Lab → · Contrast checker → · Palette generator →

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