#3B1467#3B1467

#3B1467 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.5% C 0.134 H 299.6°. Best body text is #FFFFFF at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#3B1467
RGBrgb(59, 20, 103)
HSLhsl(268, 67%, 24%)
HSVhsv(268, 81%, 40%)
CMYKcmyk(42.7%, 80.6%, 0%, 59.6%)
CIE-LABlab(17.50, 36.49, -40.86)
CIE-LCHlch(17.50, 54.78, 311.76°)
OKLaboklab(30.53% 0.0662 -0.1168)
OKLCHoklch(30.53% 0.134 299.6)
XYZxyz(4.5014, 2.4093, 13.0572)
Luminance0.0241 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B1467 #406714
analogous
#141667 #3B1467 #651467
triadic
#3B1467 #673B14 #14673B
tetradic
#3B1467 #671416 #406714 #146765
square
#3B1467 #671416 #406714 #146765
split-complementary
#3B1467 #676514 #166714
monochromatic
#0F051A #1E0A34 #3B1467 #581E9A #7628CD

Accessibility & contrast

On white

14.17
#3B1467 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#3B1467 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B1467
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B1467#FFFFFF#000000##FFFFFF
##3B14671.0014.171.4814.17
#FFFFFF14.171.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B69
Deuteranopia (green-blind)
#002A65
Tritanopia (blue-blind)
#302A3D
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #3b1467;
/* rgb */ color: rgb(59, 20, 103);
/* oklch */ color: oklch(30.5% 0.134 299.6);
Tailwind
colors: {
  custom: {
    50: '#765693',
    500: '#3b1467',
    950: '#000000',
  },
}
SCSS
$custom: #3b1467;
$custom-light: #765693;
$custom-dark: #000000;
JSON
{
  "hex": "#3b1467",
  "rgb": {
    "r": 59,
    "g": 20,
    "b": 103
  },
  "hsl": {
    "h": 268.193,
    "s": 67.48,
    "l": 24.118
  },
  "oklch": {
    "l": 0.30533,
    "c": 0.13427,
    "h": 299.6
  },
  "luminance": 0.02409
}

Semantic roles & 50–950 ramp

primary
#3B1467
secondary
#6E9E39
accent
#EA3D99
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3B1467

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

Preview Lab → · Contrast checker → · Palette generator →

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