#3F26AA#3F26AA

#3F26AA is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.8% C 0.195 H 281.6°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#3F26AA
RGBrgb(63, 38, 170)
HSLhsl(251, 63%, 41%)
HSVhsv(251, 78%, 67%)
CMYKcmyk(62.9%, 77.6%, 0%, 33.3%)
CIE-LABlab(27.69, 47.68, -66.12)
CIE-LCHlch(27.69, 81.52, 305.79°)
OKLaboklab(39.79% 0.0391 -0.1908)
OKLCHoklch(39.79% 0.195 281.6)
XYZxyz(9.9964, 5.3445, 38.5272)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F26AA #91AA26
analogous
#264FAA #3F26AA #8126AA
triadic
#3F26AA #AA3F26 #26AA3F
tetradic
#3F26AA #AA264F #91AA26 #26AA81
square
#3F26AA #AA264F #91AA26 #26AA81
split-complementary
#3F26AA #AA8126 #4FAA26
monochromatic
#1A1046 #2C1B78 #3F26AA #573AD3 #826CDE

Accessibility & contrast

On white

10.15
#3F26AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#3F26AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F26AA
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F26AA#FFFFFF#000000##FFFFFF
##3F26AA1.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f26aa;
/* rgb */ color: rgb(63, 38, 170);
/* oklch */ color: oklch(39.8% 0.195 281.6);
Tailwind
colors: {
  custom: {
    50: '#8264c5',
    500: '#3f26aa',
    950: '#000000',
  },
}
SCSS
$custom: #3f26aa;
$custom-light: #8264c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3f26aa",
  "rgb": {
    "r": 63,
    "g": 38,
    "b": 170
  },
  "hsl": {
    "h": 251.364,
    "s": 63.462,
    "l": 40.784
  },
  "oklch": {
    "l": 0.39789,
    "c": 0.19473,
    "h": 281.6
  },
  "luminance": 0.05345
}

Semantic roles & 50–950 ramp

primary
#3F26AA
secondary
#B3C567
accent
#E641C7
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3F26AA

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

Preview Lab → · Contrast checker → · Palette generator →

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