#3B1967#3B1967

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

Color values

HEX#3B1967
RGBrgb(59, 25, 103)
HSLhsl(266, 61%, 25%)
HSVhsv(266, 76%, 40%)
CMYKcmyk(42.7%, 75.7%, 0%, 59.6%)
CIE-LABlab(18.38, 33.99, -39.43)
CIE-LCHlch(18.38, 52.05, 310.77°)
OKLaboklab(31.15% 0.0612 -0.1126)
OKLCHoklch(31.15% 0.128 298.5)
XYZxyz(4.5988, 2.6043, 13.0897)
Luminance0.0260 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B1967 #456719
analogous
#191E67 #3B1967 #621967
triadic
#3B1967 #673B19 #19673B
tetradic
#3B1967 #67191E #456719 #196762
square
#3B1967 #67191E #456719 #196762
split-complementary
#3B1967 #676219 #1E6719
monochromatic
#0E0619 #1F0D36 #3B1967 #572598 #7331C9

Accessibility & contrast

On white

13.81
#3B1967 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B1967
13.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B1967#FFFFFF#000000##FFFFFF
##3B19671.0013.811.5213.81
#FFFFFF13.811.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D69
Deuteranopia (green-blind)
#002C65
Tritanopia (blue-blind)
#302C3E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #3b1967;
/* rgb */ color: rgb(59, 25, 103);
/* oklch */ color: oklch(31.2% 0.128 298.5);
Tailwind
colors: {
  custom: {
    50: '#765993',
    500: '#3b1967',
    950: '#000000',
  },
}
SCSS
$custom: #3b1967;
$custom-light: #765993;
$custom-dark: #000000;
JSON
{
  "hex": "#3b1967",
  "rgb": {
    "r": 59,
    "g": 25,
    "b": 103
  },
  "hsl": {
    "h": 266.154,
    "s": 60.938,
    "l": 25.098
  },
  "oklch": {
    "l": 0.31154,
    "c": 0.12816,
    "h": 298.5
  },
  "luminance": 0.02604
}

Semantic roles & 50–950 ramp

primary
#3B1967
secondary
#749D3F
accent
#E4449E
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09040D
muted
#7B797E

Preview Lab

Preview with #3B1967

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

Preview Lab → · Contrast checker → · Palette generator →

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