#3B146F#3B146F

#3B146F is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.3% C 0.143 H 296.4°. Best body text is #FFFFFF at 13.86:1 contrast (WCAG AA passes).

Color values

HEX#3B146F
RGBrgb(59, 20, 111)
HSLhsl(266, 69%, 26%)
HSVhsv(266, 82%, 44%)
CMYKcmyk(46.8%, 82%, 0%, 56.5%)
CIE-LABlab(18.27, 38.67, -44.84)
CIE-LCHlch(18.27, 59.21, 310.78°)
OKLaboklab(31.3% 0.0638 -0.1285)
OKLCHoklch(31.3% 0.143 296.4)
XYZxyz(4.9223, 2.5777, 15.2740)
Luminance0.0258 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B146F #486F14
analogous
#141A6F #3B146F #68146F
triadic
#3B146F #6F3B14 #146F3B
tetradic
#3B146F #6F141A #486F14 #146F68
square
#3B146F #6F141A #486F14 #146F68
split-complementary
#3B146F #6F6814 #1A6F14
monochromatic
#0E051A #1F0B3B #3B146F #571DA3 #7227D7

Accessibility & contrast

On white

13.86
#3B146F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#3B146F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B146F
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B146F#FFFFFF#000000##FFFFFF
##3B146F1.0013.861.5213.86
#FFFFFF13.861.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D72
Deuteranopia (green-blind)
#002B6D
Tritanopia (blue-blind)
#2D2D41
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #3b146f;
/* rgb */ color: rgb(59, 20, 111);
/* oklch */ color: oklch(31.3% 0.143 296.4);
Tailwind
colors: {
  custom: {
    50: '#775799',
    500: '#3b146f',
    950: '#000000',
  },
}
SCSS
$custom: #3b146f;
$custom-light: #775799;
$custom-dark: #000000;
JSON
{
  "hex": "#3b146f",
  "rgb": {
    "r": 59,
    "g": 20,
    "b": 111
  },
  "hsl": {
    "h": 265.714,
    "s": 69.466,
    "l": 25.686
  },
  "oklch": {
    "l": 0.31301,
    "c": 0.14344,
    "h": 296.4
  },
  "luminance": 0.02578
}

Semantic roles & 50–950 ramp

primary
#3B146F
secondary
#77A639
accent
#EC3CA1
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #3B146F

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

Preview Lab → · Contrast checker → · Palette generator →

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