#3F27A0#3F27A0

#3F27A0 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.9% C 0.182 H 283.0°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#3F27A0
RGBrgb(63, 39, 160)
HSLhsl(252, 61%, 39%)
HSVhsv(252, 76%, 63%)
CMYKcmyk(60.6%, 75.6%, 0%, 37.3%)
CIE-LABlab(26.86, 44.14, -61.44)
CIE-LCHlch(26.86, 75.65, 305.69°)
OKLaboklab(38.9% 0.041 -0.1771)
OKLCHoklch(38.9% 0.182 283)
XYZxyz(9.1186, 5.0453, 33.7442)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F27A0 #88A027
analogous
#274CA0 #3F27A0 #7C27A0
triadic
#3F27A0 #A03F27 #27A03F
tetradic
#3F27A0 #A0274C #88A027 #27A07C
square
#3F27A0 #A0274C #88A027 #27A07C
split-complementary
#3F27A0 #A07C27 #4CA027
monochromatic
#180F3E #2C1B6F #3F27A0 #5436CE #7E67DA

Accessibility & contrast

On white

10.45
#3F27A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#3F27A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F27A0
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F27A0#FFFFFF#000000##FFFFFF
##3F27A01.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A3
Deuteranopia (green-blind)
#003B9E
Tritanopia (blue-blind)
#004962
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3f27a0;
/* rgb */ color: rgb(63, 39, 160);
/* oklch */ color: oklch(38.9% 0.182 283.0);
Tailwind
colors: {
  custom: {
    50: '#8064bd',
    500: '#3f27a0',
    950: '#000000',
  },
}
SCSS
$custom: #3f27a0;
$custom-light: #8064bd;
$custom-dark: #000000;
JSON
{
  "hex": "#3f27a0",
  "rgb": {
    "r": 63,
    "g": 39,
    "b": 160
  },
  "hsl": {
    "h": 251.901,
    "s": 60.804,
    "l": 39.02
  },
  "oklch": {
    "l": 0.38902,
    "c": 0.1818,
    "h": 283
  },
  "luminance": 0.05046
}

Semantic roles & 50–950 ramp

primary
#3F27A0
secondary
#AEC063
accent
#E444C4
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3F27A0

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

Preview Lab → · Contrast checker → · Palette generator →

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