#3B26A4#3B26A4

#3B26A4 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.8% C 0.188 H 280.7°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#3B26A4
RGBrgb(59, 38, 164)
HSLhsl(250, 62%, 40%)
HSVhsv(250, 77%, 64%)
CMYKcmyk(64%, 76.8%, 0%, 35.7%)
CIE-LABlab(26.72, 45.39, -64.12)
CIE-LCHlch(26.72, 78.55, 305.29°)
OKLaboklab(38.83% 0.0348 -0.185)
OKLCHoklch(38.83% 0.188 280.7)
XYZxyz(9.1955, 4.9957, 35.5944)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B26A4 #8FA426
analogous
#2650A4 #3B26A4 #7A26A4
triadic
#3B26A4 #A43B26 #26A43B
tetradic
#3B26A4 #A42650 #8FA426 #26A47A
square
#3B26A4 #A42650 #8FA426 #26A47A
split-complementary
#3B26A4 #A47A26 #50A426
monochromatic
#170F41 #291A72 #3B26A4 #5037D1 #7C68DC

Accessibility & contrast

On white

10.50
#3B26A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#3B26A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B26A4
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B26A4#FFFFFF#000000##FFFFFF
##3B26A41.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A8
Deuteranopia (green-blind)
#003AA2
Tritanopia (blue-blind)
#004A64
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3b26a4;
/* rgb */ color: rgb(59, 38, 164);
/* oklch */ color: oklch(38.8% 0.188 280.7);
Tailwind
colors: {
  custom: {
    50: '#7f64c0',
    500: '#3b26a4',
    950: '#000000',
  },
}
SCSS
$custom: #3b26a4;
$custom-light: #7f64c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3b26a4",
  "rgb": {
    "r": 59,
    "g": 38,
    "b": 164
  },
  "hsl": {
    "h": 250,
    "s": 62.376,
    "l": 39.608
  },
  "oklch": {
    "l": 0.38835,
    "c": 0.18826,
    "h": 280.7
  },
  "luminance": 0.04996
}

Semantic roles & 50–950 ramp

primary
#3B26A4
secondary
#B2C264
accent
#E542CA
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #3B26A4

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

Preview Lab → · Contrast checker → · Palette generator →

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