#3F26A5#3F26A5

#3F26A5 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.3% C 0.189 H 282.4°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#3F26A5
RGBrgb(63, 38, 165)
HSLhsl(252, 63%, 40%)
HSVhsv(252, 77%, 65%)
CMYKcmyk(61.8%, 77%, 0%, 35.3%)
CIE-LABlab(27.18, 46.17, -63.95)
CIE-LCHlch(27.18, 78.88, 305.83°)
OKLaboklab(39.28% 0.0404 -0.1844)
OKLCHoklch(39.28% 0.189 282.4)
XYZxyz(9.5324, 5.1589, 36.0835)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F26A5 #8CA526
analogous
#264DA5 #3F26A5 #7F26A5
triadic
#3F26A5 #A53F26 #26A53F
tetradic
#3F26A5 #A5264D #8CA526 #26A57F
square
#3F26A5 #A5264D #8CA526 #26A57F
split-complementary
#3F26A5 #A57F26 #4DA526
monochromatic
#190F42 #2C1B73 #3F26A5 #5537D1 #8069DC

Accessibility & contrast

On white

10.33
#3F26A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#3F26A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F26A5
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F26A5#FFFFFF#000000##FFFFFF
##3F26A51.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A9
Deuteranopia (green-blind)
#003CA3
Tritanopia (blue-blind)
#004B64
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3f26a5;
/* rgb */ color: rgb(63, 38, 165);
/* oklch */ color: oklch(39.3% 0.189 282.4);
Tailwind
colors: {
  custom: {
    50: '#8164c1',
    500: '#3f26a5',
    950: '#000000',
  },
}
SCSS
$custom: #3f26a5;
$custom-light: #8164c1;
$custom-dark: #000000;
JSON
{
  "hex": "#3f26a5",
  "rgb": {
    "r": 63,
    "g": 38,
    "b": 165
  },
  "hsl": {
    "h": 251.811,
    "s": 62.562,
    "l": 39.804
  },
  "oklch": {
    "l": 0.39277,
    "c": 0.1888,
    "h": 282.4
  },
  "luminance": 0.0516
}

Semantic roles & 50–950 ramp

primary
#3F26A5
secondary
#B0C364
accent
#E642C5
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #3F26A5

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

Preview Lab → · Contrast checker → · Palette generator →

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