#3F26A8#3F26A8

#3F26A8 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.6% C 0.192 H 281.9°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#3F26A8
RGBrgb(63, 38, 168)
HSLhsl(252, 63%, 40%)
HSVhsv(252, 77%, 66%)
CMYKcmyk(62.5%, 77.4%, 0%, 34.1%)
CIE-LABlab(27.49, 47.08, -65.26)
CIE-LCHlch(27.49, 80.47, 305.81°)
OKLaboklab(39.58% 0.0396 -0.1882)
OKLCHoklch(39.58% 0.192 281.9)
XYZxyz(9.8087, 5.2694, 37.5384)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F26A8 #8FA826
analogous
#264EA8 #3F26A8 #8026A8
triadic
#3F26A8 #A83F26 #26A83F
tetradic
#3F26A8 #A8264E #8FA826 #26A880
square
#3F26A8 #A8264E #8FA826 #26A880
split-complementary
#3F26A8 #A88026 #4EA826
monochromatic
#1A0F44 #2C1B76 #3F26A8 #5639D2 #816BDE

Accessibility & contrast

On white

10.22
#3F26A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#3F26A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F26A8
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F26A8#FFFFFF#000000##FFFFFF
##3F26A81.0010.222.0510.22
#FFFFFF10.221.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AC
Deuteranopia (green-blind)
#003CA6
Tritanopia (blue-blind)
#004C66
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3f26a8;
/* rgb */ color: rgb(63, 38, 168);
/* oklch */ color: oklch(39.6% 0.192 281.9);
Tailwind
colors: {
  custom: {
    50: '#8264c3',
    500: '#3f26a8',
    950: '#000000',
  },
}
SCSS
$custom: #3f26a8;
$custom-light: #8264c3;
$custom-dark: #000000;
JSON
{
  "hex": "#3f26a8",
  "rgb": {
    "r": 63,
    "g": 38,
    "b": 168
  },
  "hsl": {
    "h": 251.538,
    "s": 63.107,
    "l": 40.392
  },
  "oklch": {
    "l": 0.39584,
    "c": 0.19236,
    "h": 281.9
  },
  "luminance": 0.0527
}

Semantic roles & 50–950 ramp

primary
#3F26A8
secondary
#B2C466
accent
#E642C7
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3F26A8

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

Preview Lab → · Contrast checker → · Palette generator →

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