#3F27AE#3F27AE

#3F27AE is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.3% C 0.199 H 280.9°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#3F27AE
RGBrgb(63, 39, 174)
HSLhsl(251, 63%, 42%)
HSVhsv(251, 78%, 68%)
CMYKcmyk(63.8%, 77.6%, 0%, 31.8%)
CIE-LABlab(28.28, 48.38, -67.56)
CIE-LCHlch(28.28, 83.09, 305.61°)
OKLaboklab(40.32% 0.0374 -0.195)
OKLCHoklch(40.32% 0.199 280.9)
XYZxyz(10.4130, 5.5630, 40.5612)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F27AE #96AE27
analogous
#2752AE #3F27AE #8327AE
triadic
#3F27AE #AE3F27 #27AE3F
tetradic
#3F27AE #AE2752 #96AE27 #27AE83
square
#3F27AE #AE2752 #96AE27 #27AE83
split-complementary
#3F27AE #AE8327 #52AE27
monochromatic
#1B114A #2D1C7C #3F27AE #593ED4 #8470DF

Accessibility & contrast

On white

9.94
#3F27AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#3F27AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F27AE
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F27AE#FFFFFF#000000##FFFFFF
##3F27AE1.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B2
Deuteranopia (green-blind)
#003EAC
Tritanopia (blue-blind)
#004F6A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3f27ae;
/* rgb */ color: rgb(63, 39, 174);
/* oklch */ color: oklch(40.3% 0.199 280.9);
Tailwind
colors: {
  custom: {
    50: '#8365c7',
    500: '#3f27ae',
    950: '#000000',
  },
}
SCSS
$custom: #3f27ae;
$custom-light: #8365c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3f27ae",
  "rgb": {
    "r": 63,
    "g": 39,
    "b": 174
  },
  "hsl": {
    "h": 250.667,
    "s": 63.38,
    "l": 41.765
  },
  "oklch": {
    "l": 0.40323,
    "c": 0.19851,
    "h": 280.9
  },
  "luminance": 0.05564
}

Semantic roles & 50–950 ramp

primary
#3F27AE
secondary
#B6C66B
accent
#E641C9
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3F27AE

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

Preview Lab → · Contrast checker → · Palette generator →

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