#3F27A9#3F27A9

#3F27A9 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.8% C 0.193 H 281.6°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#3F27A9
RGBrgb(63, 39, 169)
HSLhsl(251, 63%, 41%)
HSVhsv(251, 77%, 66%)
CMYKcmyk(62.7%, 76.9%, 0%, 33.7%)
CIE-LABlab(27.77, 46.87, -65.40)
CIE-LCHlch(27.77, 80.46, 305.63°)
OKLaboklab(39.81% 0.0387 -0.1887)
OKLCHoklch(39.81% 0.193 281.6)
XYZxyz(9.9346, 5.3716, 38.0417)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F27A9 #91A927
analogous
#2750A9 #3F27A9 #8027A9
triadic
#3F27A9 #A93F27 #27A93F
tetradic
#3F27A9 #A92750 #91A927 #27A980
square
#3F27A9 #A92750 #91A927 #27A980
split-complementary
#3F27A9 #A98027 #50A927
monochromatic
#1A1046 #2C1C77 #3F27A9 #573BD2 #826DDD

Accessibility & contrast

On white

10.12
#3F27A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#3F27A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F27A9
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F27A9#FFFFFF#000000##FFFFFF
##3F27A91.0010.122.0710.12
#FFFFFF10.121.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AD
Deuteranopia (green-blind)
#003DA7
Tritanopia (blue-blind)
#004D67
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3f27a9;
/* rgb */ color: rgb(63, 39, 169);
/* oklch */ color: oklch(39.8% 0.193 281.6);
Tailwind
colors: {
  custom: {
    50: '#8265c4',
    500: '#3f27a9',
    950: '#000000',
  },
}
SCSS
$custom: #3f27a9;
$custom-light: #8265c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3f27a9",
  "rgb": {
    "r": 63,
    "g": 39,
    "b": 169
  },
  "hsl": {
    "h": 251.077,
    "s": 62.5,
    "l": 40.784
  },
  "oklch": {
    "l": 0.3981,
    "c": 0.19259,
    "h": 281.6
  },
  "luminance": 0.05372
}

Semantic roles & 50–950 ramp

primary
#3F27A9
secondary
#B3C468
accent
#E642C7
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3F27A9

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

Preview Lab → · Contrast checker → · Palette generator →

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