#3F26B5#3F26B5

#3F26B5 is a dark, highly saturated violet. Relative luminance 0.058; OKLCH L 40.9% C 0.208 H 280.0°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#3F26B5
RGBrgb(63, 38, 181)
HSLhsl(250, 65%, 43%)
HSVhsv(250, 79%, 71%)
CMYKcmyk(65.2%, 79%, 0%, 29%)
CIE-LABlab(28.85, 50.96, -70.81)
CIE-LCHlch(28.85, 87.24, 305.74°)
OKLaboklab(40.94% 0.036 -0.2044)
OKLCHoklch(40.94% 0.208 280)
XYZxyz(11.0808, 5.7783, 44.2385)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F26B5 #9CB526
analogous
#2654B5 #3F26B5 #8726B5
triadic
#3F26B5 #B53F26 #26B53F
tetradic
#3F26B5 #B52654 #9CB526 #26B587
square
#3F26B5 #B52654 #9CB526 #26B587
split-complementary
#3F26B5 #B58726 #54B526
monochromatic
#1C1150 #2D1B82 #3F26B5 #5B41D7 #8774E2

Accessibility & contrast

On white

9.74
#3F26B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#3F26B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F26B5
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F26B5#FFFFFF#000000##FFFFFF
##3F26B51.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B9
Deuteranopia (green-blind)
#003EB2
Tritanopia (blue-blind)
#00516D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3f26b5;
/* rgb */ color: rgb(63, 38, 181);
/* oklch */ color: oklch(40.9% 0.208 280.0);
Tailwind
colors: {
  custom: {
    50: '#8465cd',
    500: '#3f26b5',
    950: '#000000',
  },
}
SCSS
$custom: #3f26b5;
$custom-light: #8465cd;
$custom-dark: #000000;
JSON
{
  "hex": "#3f26b5",
  "rgb": {
    "r": 63,
    "g": 38,
    "b": 181
  },
  "hsl": {
    "h": 250.49,
    "s": 65.297,
    "l": 42.941
  },
  "oklch": {
    "l": 0.40935,
    "c": 0.20757,
    "h": 280
  },
  "luminance": 0.05779
}

Semantic roles & 50–950 ramp

primary
#3F26B5
secondary
#B9C96E
accent
#E840CB
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #3F26B5

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

Preview Lab → · Contrast checker → · Palette generator →

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