#3F26B4#3F26B4

#3F26B4 is a dark, highly saturated violet. Relative luminance 0.057; OKLCH L 40.8% C 0.206 H 280.1°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#3F26B4
RGBrgb(63, 38, 180)
HSLhsl(251, 65%, 43%)
HSVhsv(251, 79%, 71%)
CMYKcmyk(65%, 78.9%, 0%, 29.4%)
CIE-LABlab(28.74, 50.66, -70.39)
CIE-LCHlch(28.74, 86.72, 305.74°)
OKLaboklab(40.83% 0.0363 -0.2032)
OKLCHoklch(40.83% 0.206 280.1)
XYZxyz(10.9786, 5.7374, 43.7001)
Luminance0.0574 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F26B4 #9BB426
analogous
#2654B4 #3F26B4 #8626B4
triadic
#3F26B4 #B43F26 #26B43F
tetradic
#3F26B4 #B42654 #9BB426 #26B486
square
#3F26B4 #B42654 #9BB426 #26B486
split-complementary
#3F26B4 #B48626 #54B426
monochromatic
#1C114F #2D1B81 #3F26B4 #5B40D7 #8673E1

Accessibility & contrast

On white

9.78
#3F26B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#3F26B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F26B4
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F26B4#FFFFFF#000000##FFFFFF
##3F26B41.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f26b4;
/* rgb */ color: rgb(63, 38, 180);
/* oklch */ color: oklch(40.8% 0.206 280.1);
Tailwind
colors: {
  custom: {
    50: '#8465cc',
    500: '#3f26b4',
    950: '#000000',
  },
}
SCSS
$custom: #3f26b4;
$custom-light: #8465cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3f26b4",
  "rgb": {
    "r": 63,
    "g": 38,
    "b": 180
  },
  "hsl": {
    "h": 250.563,
    "s": 65.138,
    "l": 42.745
  },
  "oklch": {
    "l": 0.4083,
    "c": 0.20641,
    "h": 280.1
  },
  "luminance": 0.05738
}

Semantic roles & 50–950 ramp

primary
#3F26B4
secondary
#B8C96D
accent
#E840CA
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #3F26B4

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

Preview Lab → · Contrast checker → · Palette generator →

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