#3F26B2#3F26B2

#3F26B2 is a dark, highly saturated violet. Relative luminance 0.057; OKLCH L 40.6% C 0.204 H 280.4°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#3F26B2
RGBrgb(63, 38, 178)
HSLhsl(251, 65%, 42%)
HSVhsv(251, 79%, 70%)
CMYKcmyk(64.6%, 78.7%, 0%, 30.2%)
CIE-LABlab(28.53, 50.06, -69.54)
CIE-LCHlch(28.53, 85.69, 305.75°)
OKLaboklab(40.62% 0.0369 -0.2007)
OKLCHoklch(40.62% 0.204 280.4)
XYZxyz(10.7763, 5.6565, 42.6348)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F26B2 #99B226
analogous
#2653B2 #3F26B2 #8526B2
triadic
#3F26B2 #B23F26 #26B23F
tetradic
#3F26B2 #B22653 #99B226 #26B285
square
#3F26B2 #B22653 #99B226 #26B285
split-complementary
#3F26B2 #B28526 #53B226
monochromatic
#1B104D #2D1B80 #3F26B2 #5A3FD6 #8572E1

Accessibility & contrast

On white

9.85
#3F26B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#3F26B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F26B2
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F26B2#FFFFFF#000000##FFFFFF
##3F26B21.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B6
Deuteranopia (green-blind)
#003EB0
Tritanopia (blue-blind)
#00506C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3f26b2;
/* rgb */ color: rgb(63, 38, 178);
/* oklch */ color: oklch(40.6% 0.204 280.4);
Tailwind
colors: {
  custom: {
    50: '#8465ca',
    500: '#3f26b2',
    950: '#000000',
  },
}
SCSS
$custom: #3f26b2;
$custom-light: #8465ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3f26b2",
  "rgb": {
    "r": 63,
    "g": 38,
    "b": 178
  },
  "hsl": {
    "h": 250.714,
    "s": 64.815,
    "l": 42.353
  },
  "oklch": {
    "l": 0.4062,
    "c": 0.20409,
    "h": 280.4
  },
  "luminance": 0.05657
}

Semantic roles & 50–950 ramp

primary
#3F26B2
secondary
#B7C86C
accent
#E840CA
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3F26B2

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

Preview Lab → · Contrast checker → · Palette generator →

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