#3B279A#3B279A

#3B279A is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.0% C 0.175 H 282.1°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#3B279A
RGBrgb(59, 39, 154)
HSLhsl(250, 60%, 38%)
HSVhsv(250, 75%, 60%)
CMYKcmyk(61.7%, 74.7%, 0%, 39.6%)
CIE-LABlab(25.90, 41.75, -59.38)
CIE-LCHlch(25.90, 72.58, 305.11°)
OKLaboklab(37.95% 0.0366 -0.1712)
OKLCHoklch(37.95% 0.175 282.1)
XYZxyz(8.3601, 4.7134, 31.0348)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B279A #869A27
analogous
#274C9A #3B279A #74279A
triadic
#3B279A #9A3B27 #279A3B
tetradic
#3B279A #9A274C #869A27 #279A74
square
#3B279A #9A274C #869A27 #279A74
split-complementary
#3B279A #9A7427 #4C9A27
monochromatic
#160E38 #281B69 #3B279A #4E33CB #7864D8

Accessibility & contrast

On white

10.81
#3B279A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#3B279A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B279A
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B279A#FFFFFF#000000##FFFFFF
##3B279A1.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419D
Deuteranopia (green-blind)
#003998
Tritanopia (blue-blind)
#00475E
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3b279a;
/* rgb */ color: rgb(59, 39, 154);
/* oklch */ color: oklch(38.0% 0.175 282.1);
Tailwind
colors: {
  custom: {
    50: '#7d64b9',
    500: '#3b279a',
    950: '#000000',
  },
}
SCSS
$custom: #3b279a;
$custom-light: #7d64b9;
$custom-dark: #000000;
JSON
{
  "hex": "#3b279a",
  "rgb": {
    "r": 59,
    "g": 39,
    "b": 154
  },
  "hsl": {
    "h": 250.435,
    "s": 59.585,
    "l": 37.843
  },
  "oklch": {
    "l": 0.37953,
    "c": 0.17506,
    "h": 282.1
  },
  "luminance": 0.04714
}

Semantic roles & 50–950 ramp

primary
#3B279A
secondary
#ADBD5F
accent
#E345C7
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #3B279A

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

Preview Lab → · Contrast checker → · Palette generator →

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