#3B26A2#3B26A2

#3B26A2 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.6% C 0.186 H 281.0°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#3B26A2
RGBrgb(59, 38, 162)
HSLhsl(250, 62%, 39%)
HSVhsv(250, 77%, 64%)
CMYKcmyk(63.6%, 76.5%, 0%, 36.5%)
CIE-LABlab(26.52, 44.77, -63.24)
CIE-LCHlch(26.52, 77.48, 305.30°)
OKLaboklab(38.63% 0.0353 -0.1825)
OKLCHoklch(38.63% 0.186 281)
XYZxyz(9.0163, 4.9240, 34.6507)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B26A2 #8DA226
analogous
#264FA2 #3B26A2 #7926A2
triadic
#3B26A2 #A23B26 #26A23B
tetradic
#3B26A2 #A2264F #8DA226 #26A279
square
#3B26A2 #A2264F #8DA226 #26A279
split-complementary
#3B26A2 #A27926 #4FA226
monochromatic
#170F3F #291A70 #3B26A2 #5035D0 #7B67DB

Accessibility & contrast

On white

10.58
#3B26A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#3B26A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B26A2
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B26A2#FFFFFF#000000##FFFFFF
##3B26A21.0010.581.9910.58
#FFFFFF10.581.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A6
Deuteranopia (green-blind)
#003AA0
Tritanopia (blue-blind)
#004A62
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3b26a2;
/* rgb */ color: rgb(59, 38, 162);
/* oklch */ color: oklch(38.6% 0.186 281.0);
Tailwind
colors: {
  custom: {
    50: '#7f63bf',
    500: '#3b26a2',
    950: '#000000',
  },
}
SCSS
$custom: #3b26a2;
$custom-light: #7f63bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3b26a2",
  "rgb": {
    "r": 59,
    "g": 38,
    "b": 162
  },
  "hsl": {
    "h": 250.161,
    "s": 62,
    "l": 39.216
  },
  "oklch": {
    "l": 0.38629,
    "c": 0.18586,
    "h": 281
  },
  "luminance": 0.04925
}

Semantic roles & 50–950 ramp

primary
#3B26A2
secondary
#B1C163
accent
#E543CA
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #3B26A2

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

Preview Lab → · Contrast checker → · Palette generator →

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