#3B146E#3B146E

#3B146E is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.2% C 0.142 H 296.8°. Best body text is #FFFFFF at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#3B146E
RGBrgb(59, 20, 110)
HSLhsl(266, 69%, 25%)
HSVhsv(266, 82%, 43%)
CMYKcmyk(46.4%, 81.8%, 0%, 56.9%)
CIE-LABlab(18.17, 38.40, -44.35)
CIE-LCHlch(18.17, 58.66, 310.89°)
OKLaboklab(31.2% 0.0641 -0.127)
OKLCHoklch(31.2% 0.142 296.8)
XYZxyz(4.8675, 2.5558, 14.9857)
Luminance0.0256 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B146E #476E14
analogous
#141A6E #3B146E #68146E
triadic
#3B146E #6E3B14 #146E3B
tetradic
#3B146E #6E141A #476E14 #146E68
square
#3B146E #6E141A #476E14 #146E68
split-complementary
#3B146E #6E6814 #1A6E14
monochromatic
#0E051A #1F0B3A #3B146E #571DA2 #7327D6

Accessibility & contrast

On white

13.90
#3B146E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#3B146E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B146E
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B146E#FFFFFF#000000##FFFFFF
##3B146E1.0013.901.5113.90
#FFFFFF13.901.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D70
Deuteranopia (green-blind)
#002B6C
Tritanopia (blue-blind)
#2D2D41
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #3b146e;
/* rgb */ color: rgb(59, 20, 110);
/* oklch */ color: oklch(31.2% 0.142 296.8);
Tailwind
colors: {
  custom: {
    50: '#775798',
    500: '#3b146e',
    950: '#000000',
  },
}
SCSS
$custom: #3b146e;
$custom-light: #775798;
$custom-dark: #000000;
JSON
{
  "hex": "#3b146e",
  "rgb": {
    "r": 59,
    "g": 20,
    "b": 110
  },
  "hsl": {
    "h": 266,
    "s": 69.231,
    "l": 25.49
  },
  "oklch": {
    "l": 0.31204,
    "c": 0.14231,
    "h": 296.8
  },
  "luminance": 0.02556
}

Semantic roles & 50–950 ramp

primary
#3B146E
secondary
#76A539
accent
#EC3CA0
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #3B146E

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

Preview Lab → · Contrast checker → · Palette generator →

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