#3B107E#3B107E

#3B107E is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.4% C 0.164 H 291.9°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#3B107E
RGBrgb(59, 16, 126)
HSLhsl(263, 77%, 28%)
HSVhsv(263, 87%, 49%)
CMYKcmyk(53.2%, 87.3%, 0%, 50.6%)
CIE-LABlab(19.25, 44.38, -52.86)
CIE-LCHlch(19.25, 69.02, 310.01°)
OKLaboklab(32.45% 0.0612 -0.1519)
OKLCHoklch(32.45% 0.164 291.9)
XYZxyz(5.7537, 2.8065, 19.9732)
Luminance0.0281 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B107E #537E10
analogous
#101C7E #3B107E #72107E
triadic
#3B107E #7E3B10 #107E3B
tetradic
#3B107E #7E101C #537E10 #107E72
square
#3B107E #7E101C #537E10 #107E72
split-complementary
#3B107E #7E7210 #1C7E10
monochromatic
#0D031B #220948 #3B107E #5417B4 #6F25E3

Accessibility & contrast

On white

13.45
#3B107E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#3B107E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B107E
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B107E#FFFFFF#000000##FFFFFF
##3B107E1.0013.451.5613.45
#FFFFFF13.451.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003081
Deuteranopia (green-blind)
#002C7C
Tritanopia (blue-blind)
#233249
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #3b107e;
/* rgb */ color: rgb(59, 16, 126);
/* oklch */ color: oklch(32.4% 0.164 291.9);
Tailwind
colors: {
  custom: {
    50: '#7a56a4',
    500: '#3b107e',
    950: '#000000',
  },
}
SCSS
$custom: #3b107e;
$custom-light: #7a56a4;
$custom-dark: #000000;
JSON
{
  "hex": "#3b107e",
  "rgb": {
    "r": 59,
    "g": 16,
    "b": 126
  },
  "hsl": {
    "h": 263.455,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.32449,
    "c": 0.16377,
    "h": 291.9
  },
  "luminance": 0.02807
}

Semantic roles & 50–950 ramp

primary
#3B107E
secondary
#83B436
accent
#F434A9
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A030F
muted
#7C787F

Preview Lab

Preview with #3B107E

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

Preview Lab → · Contrast checker → · Palette generator →

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