#3F26A2#3F26A2

#3F26A2 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.0% C 0.185 H 282.9°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#3F26A2
RGBrgb(63, 38, 162)
HSLhsl(252, 62%, 39%)
HSVhsv(252, 77%, 64%)
CMYKcmyk(61.1%, 76.5%, 0%, 36.5%)
CIE-LABlab(26.88, 45.27, -62.63)
CIE-LCHlch(26.88, 77.28, 305.86°)
OKLaboklab(38.97% 0.0412 -0.1806)
OKLCHoklch(38.97% 0.185 282.9)
XYZxyz(9.2626, 5.0510, 34.6623)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F26A2 #89A226
analogous
#264BA2 #3F26A2 #7D26A2
triadic
#3F26A2 #A23F26 #26A23F
tetradic
#3F26A2 #A2264B #89A226 #26A27D
square
#3F26A2 #A2264B #89A226 #26A27D
split-complementary
#3F26A2 #A27D26 #4BA226
monochromatic
#180F3F #2C1A70 #3F26A2 #5535D0 #7E67DB

Accessibility & contrast

On white

10.45
#3F26A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#3F26A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F26A2
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F26A2#FFFFFF#000000##FFFFFF
##3F26A21.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A6
Deuteranopia (green-blind)
#003BA0
Tritanopia (blue-blind)
#004962
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3f26a2;
/* rgb */ color: rgb(63, 38, 162);
/* oklch */ color: oklch(39.0% 0.185 282.9);
Tailwind
colors: {
  custom: {
    50: '#8164bf',
    500: '#3f26a2',
    950: '#000000',
  },
}
SCSS
$custom: #3f26a2;
$custom-light: #8164bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3f26a2",
  "rgb": {
    "r": 63,
    "g": 38,
    "b": 162
  },
  "hsl": {
    "h": 252.097,
    "s": 62,
    "l": 39.216
  },
  "oklch": {
    "l": 0.38973,
    "c": 0.18522,
    "h": 282.9
  },
  "luminance": 0.05052
}

Semantic roles & 50–950 ramp

primary
#3F26A2
secondary
#AEC163
accent
#E543C4
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3F26A2

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

Preview Lab → · Contrast checker → · Palette generator →

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