#3F27B0#3F27B0

#3F27B0 is a dark, highly saturated violet. Relative luminance 0.056; OKLCH L 40.5% C 0.201 H 280.6°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#3F27B0
RGBrgb(63, 39, 176)
HSLhsl(251, 64%, 42%)
HSVhsv(251, 78%, 69%)
CMYKcmyk(64.2%, 77.8%, 0%, 31%)
CIE-LABlab(28.49, 48.98, -68.41)
CIE-LCHlch(28.49, 84.14, 305.60°)
OKLaboklab(40.53% 0.0368 -0.1974)
OKLCHoklch(40.53% 0.201 280.6)
XYZxyz(10.6094, 5.6416, 41.5957)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F27B0 #98B027
analogous
#2754B0 #3F27B0 #8427B0
triadic
#3F27B0 #B03F27 #27B03F
tetradic
#3F27B0 #B02754 #98B027 #27B084
square
#3F27B0 #B02754 #98B027 #27B084
split-complementary
#3F27B0 #B08427 #54B027
monochromatic
#1B114C #2D1C7E #3F27B0 #5A40D5 #8572E0

Accessibility & contrast

On white

9.87
#3F27B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#3F27B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F27B0
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F27B0#FFFFFF#000000##FFFFFF
##3F27B01.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B4
Deuteranopia (green-blind)
#003EAE
Tritanopia (blue-blind)
#004F6B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3f27b0;
/* rgb */ color: rgb(63, 39, 176);
/* oklch */ color: oklch(40.5% 0.201 280.6);
Tailwind
colors: {
  custom: {
    50: '#8365c9',
    500: '#3f27b0',
    950: '#000000',
  },
}
SCSS
$custom: #3f27b0;
$custom-light: #8365c9;
$custom-dark: #000000;
JSON
{
  "hex": "#3f27b0",
  "rgb": {
    "r": 63,
    "g": 39,
    "b": 176
  },
  "hsl": {
    "h": 250.511,
    "s": 63.721,
    "l": 42.157
  },
  "oklch": {
    "l": 0.4053,
    "c": 0.20086,
    "h": 280.6
  },
  "luminance": 0.05642
}

Semantic roles & 50–950 ramp

primary
#3F27B0
secondary
#B7C76C
accent
#E741CA
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3F27B0

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

Preview Lab → · Contrast checker → · Palette generator →

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