#3B279F#3B279F

#3B279F is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.5% C 0.181 H 281.3°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#3B279F
RGBrgb(59, 39, 159)
HSLhsl(250, 61%, 39%)
HSVhsv(250, 75%, 62%)
CMYKcmyk(62.9%, 75.5%, 0%, 37.6%)
CIE-LABlab(26.40, 43.31, -61.61)
CIE-LCHlch(26.40, 75.31, 305.11°)
OKLaboklab(38.46% 0.0354 -0.1777)
OKLCHoklch(38.46% 0.181 281.3)
XYZxyz(8.7852, 4.8834, 33.2738)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B279F #8B9F27
analogous
#274F9F #3B279F #77279F
triadic
#3B279F #9F3B27 #279F3B
tetradic
#3B279F #9F274F #8B9F27 #279F77
square
#3B279F #9F274F #8B9F27 #279F77
split-complementary
#3B279F #9F7727 #4F9F27
monochromatic
#170F3D #291B6E #3B279F #4F36CE #7A67DA

Accessibility & contrast

On white

10.62
#3B279F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#3B279F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B279F
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B279F#FFFFFF#000000##FFFFFF
##3B279F1.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A2
Deuteranopia (green-blind)
#003A9D
Tritanopia (blue-blind)
#004961
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3b279f;
/* rgb */ color: rgb(59, 39, 159);
/* oklch */ color: oklch(38.5% 0.181 281.3);
Tailwind
colors: {
  custom: {
    50: '#7e64bd',
    500: '#3b279f',
    950: '#000000',
  },
}
SCSS
$custom: #3b279f;
$custom-light: #7e64bd;
$custom-dark: #000000;
JSON
{
  "hex": "#3b279f",
  "rgb": {
    "r": 59,
    "g": 39,
    "b": 159
  },
  "hsl": {
    "h": 250,
    "s": 60.606,
    "l": 38.824
  },
  "oklch": {
    "l": 0.38455,
    "c": 0.18121,
    "h": 281.3
  },
  "luminance": 0.04884
}

Semantic roles & 50–950 ramp

primary
#3B279F
secondary
#B0C062
accent
#E444C9
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #3B279F

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

Preview Lab → · Contrast checker → · Palette generator →

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