#3F26B9#3F26B9

#3F26B9 is a dark, highly saturated violet. Relative luminance 0.059; OKLCH L 41.4% C 0.212 H 279.5°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#3F26B9
RGBrgb(63, 38, 185)
HSLhsl(250, 66%, 44%)
HSVhsv(250, 79%, 73%)
CMYKcmyk(65.9%, 79.5%, 0%, 27.5%)
CIE-LABlab(29.27, 52.14, -72.48)
CIE-LCHlch(29.27, 89.29, 305.73°)
OKLaboklab(41.36% 0.0349 -0.2093)
OKLCHoklch(41.36% 0.212 279.5)
XYZxyz(11.4972, 5.9448, 46.4311)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F26B9 #A0B926
analogous
#2656B9 #3F26B9 #8826B9
triadic
#3F26B9 #B93F26 #26B93F
tetradic
#3F26B9 #B92656 #A0B926 #26B988
square
#3F26B9 #B92656 #A0B926 #26B988
split-complementary
#3F26B9 #B98826 #56B926
monochromatic
#1C1153 #2E1C86 #3F26B9 #5D44D9 #8976E3

Accessibility & contrast

On white

9.59
#3F26B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#3F26B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F26B9
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F26B9#FFFFFF#000000##FFFFFF
##3F26B91.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004ABD
Deuteranopia (green-blind)
#003FB6
Tritanopia (blue-blind)
#005370
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3f26b9;
/* rgb */ color: rgb(63, 38, 185);
/* oklch */ color: oklch(41.4% 0.212 279.5);
Tailwind
colors: {
  custom: {
    50: '#8565cf',
    500: '#3f26b9',
    950: '#000000',
  },
}
SCSS
$custom: #3f26b9;
$custom-light: #8565cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3f26b9",
  "rgb": {
    "r": 63,
    "g": 38,
    "b": 185
  },
  "hsl": {
    "h": 250.204,
    "s": 65.919,
    "l": 43.725
  },
  "oklch": {
    "l": 0.41358,
    "c": 0.21217,
    "h": 279.5
  },
  "luminance": 0.05946
}

Semantic roles & 50–950 ramp

primary
#3F26B9
secondary
#BBCA70
accent
#E93FCC
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0D0614
muted
#7D7A82

Preview Lab

Preview with #3F26B9

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

Preview Lab → · Contrast checker → · Palette generator →

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