#3F27B7#3F27B7

#3F27B7 is a dark, highly saturated violet. Relative luminance 0.059; OKLCH L 41.3% C 0.209 H 279.6°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#3F27B7
RGBrgb(63, 39, 183)
HSLhsl(250, 65%, 44%)
HSVhsv(250, 79%, 72%)
CMYKcmyk(65.6%, 78.7%, 0%, 28.2%)
CIE-LABlab(29.22, 51.07, -71.37)
CIE-LCHlch(29.22, 87.76, 305.58°)
OKLaboklab(41.26% 0.0349 -0.2061)
OKLCHoklch(41.26% 0.209 279.6)
XYZxyz(11.3199, 5.9258, 45.3378)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F27B7 #9FB727
analogous
#2757B7 #3F27B7 #8727B7
triadic
#3F27B7 #B73F27 #27B73F
tetradic
#3F27B7 #B72757 #9FB727 #27B787
square
#3F27B7 #B72757 #9FB727 #27B787
split-complementary
#3F27B7 #B78727 #57B727
monochromatic
#1C1152 #2E1C85 #3F27B7 #5D44D7 #8876E2

Accessibility & contrast

On white

9.61
#3F27B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#3F27B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F27B7
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F27B7#FFFFFF#000000##FFFFFF
##3F27B71.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004ABB
Deuteranopia (green-blind)
#003FB4
Tritanopia (blue-blind)
#00526F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3f27b7;
/* rgb */ color: rgb(63, 39, 183);
/* oklch */ color: oklch(41.3% 0.209 279.6);
Tailwind
colors: {
  custom: {
    50: '#8565ce',
    500: '#3f27b7',
    950: '#000000',
  },
}
SCSS
$custom: #3f27b7;
$custom-light: #8565ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3f27b7",
  "rgb": {
    "r": 63,
    "g": 39,
    "b": 183
  },
  "hsl": {
    "h": 250,
    "s": 64.865,
    "l": 43.529
  },
  "oklch": {
    "l": 0.41262,
    "c": 0.20901,
    "h": 279.6
  },
  "luminance": 0.05927
}

Semantic roles & 50–950 ramp

primary
#3F27B7
secondary
#BBC970
accent
#E840CC
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #3F27B7

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

Preview Lab → · Contrast checker → · Palette generator →

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