#3B1769#3B1769

#3B1769 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.1% C 0.133 H 298.1°. Best body text is #FFFFFF at 13.88:1 contrast (WCAG AA passes).

Color values

HEX#3B1769
RGBrgb(59, 23, 105)
HSLhsl(266, 64%, 25%)
HSVhsv(266, 78%, 41%)
CMYKcmyk(43.8%, 78.1%, 0%, 58.8%)
CIE-LABlab(18.20, 35.58, -41.04)
CIE-LCHlch(18.20, 54.32, 310.93°)
OKLaboklab(31.08% 0.0628 -0.1173)
OKLCHoklch(31.08% 0.133 298.1)
XYZxyz(4.6592, 2.5624, 13.6110)
Luminance0.0256 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B1769 #456917
analogous
#171C69 #3B1769 #641769
triadic
#3B1769 #693B17 #17693B
tetradic
#3B1769 #69171C #456917 #176964
square
#3B1769 #69171C #456917 #176964
split-complementary
#3B1769 #696417 #1C6917
monochromatic
#0E0519 #1F0C37 #3B1769 #57229B #732DCD

Accessibility & contrast

On white

13.88
#3B1769 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B1769
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B1769#FFFFFF#000000##FFFFFF
##3B17691.0013.881.5113.88
#FFFFFF13.881.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6B
Deuteranopia (green-blind)
#002C67
Tritanopia (blue-blind)
#302C3F
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #3b1769;
/* rgb */ color: rgb(59, 23, 105);
/* oklch */ color: oklch(31.1% 0.133 298.1);
Tailwind
colors: {
  custom: {
    50: '#765895',
    500: '#3b1769',
    950: '#000000',
  },
}
SCSS
$custom: #3b1769;
$custom-light: #765895;
$custom-dark: #000000;
JSON
{
  "hex": "#3b1769",
  "rgb": {
    "r": 59,
    "g": 23,
    "b": 105
  },
  "hsl": {
    "h": 266.341,
    "s": 64.063,
    "l": 25.098
  },
  "oklch": {
    "l": 0.31079,
    "c": 0.13308,
    "h": 298.1
  },
  "luminance": 0.02563
}

Semantic roles & 50–950 ramp

primary
#3B1769
secondary
#749F3D
accent
#E7419E
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3B1769

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

Preview Lab → · Contrast checker → · Palette generator →

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