#3F26AC#3F26AC

#3F26AC is a dark, vivid violet. Relative luminance 0.054; OKLCH L 40.0% C 0.197 H 281.3°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#3F26AC
RGBrgb(63, 38, 172)
HSLhsl(251, 64%, 41%)
HSVhsv(251, 78%, 67%)
CMYKcmyk(63.4%, 77.9%, 0%, 32.5%)
CIE-LABlab(27.90, 48.28, -66.99)
CIE-LCHlch(27.90, 82.57, 305.78°)
OKLaboklab(40% 0.0385 -0.1933)
OKLCHoklch(40% 0.197 281.3)
XYZxyz(10.1871, 5.4208, 39.5312)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F26AC #93AC26
analogous
#2650AC #3F26AC #8226AC
triadic
#3F26AC #AC3F26 #26AC3F
tetradic
#3F26AC #AC2650 #93AC26 #26AC82
square
#3F26AC #AC2650 #93AC26 #26AC82
split-complementary
#3F26AC #AC8226 #50AC26
monochromatic
#1A1048 #2D1B7A #3F26AC #583BD4 #836EDF

Accessibility & contrast

On white

10.07
#3F26AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F26AC
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F26AC#FFFFFF#000000##FFFFFF
##3F26AC1.0010.072.0810.07
#FFFFFF10.071.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B0
Deuteranopia (green-blind)
#003DAA
Tritanopia (blue-blind)
#004D68
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3f26ac;
/* rgb */ color: rgb(63, 38, 172);
/* oklch */ color: oklch(40.0% 0.197 281.3);
Tailwind
colors: {
  custom: {
    50: '#8264c6',
    500: '#3f26ac',
    950: '#000000',
  },
}
SCSS
$custom: #3f26ac;
$custom-light: #8264c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3f26ac",
  "rgb": {
    "r": 63,
    "g": 38,
    "b": 172
  },
  "hsl": {
    "h": 251.194,
    "s": 63.81,
    "l": 41.176
  },
  "oklch": {
    "l": 0.39995,
    "c": 0.19708,
    "h": 281.3
  },
  "luminance": 0.05422
}

Semantic roles & 50–950 ramp

primary
#3F26AC
secondary
#B4C568
accent
#E741C8
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3F26AC

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

Preview Lab → · Contrast checker → · Palette generator →

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