#3F27AA#3F27AA

#3F27AA is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.9% C 0.194 H 281.4°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#3F27AA
RGBrgb(63, 39, 170)
HSLhsl(251, 63%, 41%)
HSVhsv(251, 77%, 67%)
CMYKcmyk(62.9%, 77.1%, 0%, 33.3%)
CIE-LABlab(27.87, 47.17, -65.83)
CIE-LCHlch(27.87, 80.99, 305.62°)
OKLaboklab(39.91% 0.0385 -0.1899)
OKLCHoklch(39.91% 0.194 281.4)
XYZxyz(10.0288, 5.4093, 38.5380)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F27AA #92AA27
analogous
#2751AA #3F27AA #8027AA
triadic
#3F27AA #AA3F27 #27AA3F
tetradic
#3F27AA #AA2751 #92AA27 #27AA80
square
#3F27AA #AA2751 #92AA27 #27AA80
split-complementary
#3F27AA #AA8027 #51AA27
monochromatic
#1A1046 #2D1C78 #3F27AA #573CD2 #826EDE

Accessibility & contrast

On white

10.09
#3F27AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#3F27AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F27AA
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F27AA#FFFFFF#000000##FFFFFF
##3F27AA1.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f27aa;
/* rgb */ color: rgb(63, 39, 170);
/* oklch */ color: oklch(39.9% 0.194 281.4);
Tailwind
colors: {
  custom: {
    50: '#8265c5',
    500: '#3f27aa',
    950: '#000000',
  },
}
SCSS
$custom: #3f27aa;
$custom-light: #8265c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3f27aa",
  "rgb": {
    "r": 63,
    "g": 39,
    "b": 170
  },
  "hsl": {
    "h": 250.992,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.39912,
    "c": 0.19378,
    "h": 281.4
  },
  "luminance": 0.0541
}

Semantic roles & 50–950 ramp

primary
#3F27AA
secondary
#B3C469
accent
#E642C8
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3F27AA

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

Preview Lab → · Contrast checker → · Palette generator →

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