#3F3085#3F3085

#3F3085 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 37.8% C 0.136 H 286.0°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#3F3085
RGBrgb(63, 48, 133)
HSLhsl(251, 47%, 35%)
HSVhsv(251, 64%, 52%)
CMYKcmyk(52.6%, 63.9%, 0%, 47.8%)
CIE-LABlab(26.34, 30.40, -45.65)
CIE-LCHlch(26.34, 54.85, 303.66°)
OKLaboklab(37.78% 0.0375 -0.1308)
OKLCHoklch(37.78% 0.136 286)
XYZxyz(7.3392, 4.8638, 22.7378)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3085 #768530
analogous
#304C85 #3F3085 #693085
triadic
#3F3085 #853F30 #30853F
tetradic
#3F3085 #85304C #768530 #308569
square
#3F3085 #85304C #768530 #308569
split-complementary
#3F3085 #856930 #4C8530
monochromatic
#14102B #2A2058 #3F3085 #5440B2 #7867C8

Accessibility & contrast

On white

10.64
#3F3085 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#3F3085 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3085
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3085#FFFFFF#000000##FFFFFF
##3F30851.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004188
Deuteranopia (green-blind)
#003C83
Tritanopia (blue-blind)
#254456
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3f3085;
/* rgb */ color: rgb(63, 48, 133);
/* oklch */ color: oklch(37.8% 0.136 286.0);
Tailwind
colors: {
  custom: {
    50: '#7b69a9',
    500: '#3f3085',
    950: '#000000',
  },
}
SCSS
$custom: #3f3085;
$custom-light: #7b69a9;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3085",
  "rgb": {
    "r": 63,
    "g": 48,
    "b": 133
  },
  "hsl": {
    "h": 250.588,
    "s": 46.961,
    "l": 35.49
  },
  "oklch": {
    "l": 0.37783,
    "c": 0.13608,
    "h": 286
  },
  "luminance": 0.04864
}

Semantic roles & 50–950 ramp

primary
#3F3085
secondary
#A2AF61
accent
#D751BF
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #3F3085

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

Preview Lab → · Contrast checker → · Palette generator →

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