#3B1867#3B1867

#3B1867 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.0% C 0.129 H 298.7°. Best body text is #FFFFFF at 13.89:1 contrast (WCAG AA passes).

Color values

HEX#3B1867
RGBrgb(59, 24, 103)
HSLhsl(267, 62%, 25%)
HSVhsv(267, 77%, 40%)
CMYKcmyk(42.7%, 76.7%, 0%, 59.6%)
CIE-LABlab(18.20, 34.51, -39.73)
CIE-LCHlch(18.20, 52.63, 310.98°)
OKLaboklab(31.02% 0.0622 -0.1135)
OKLCHoklch(31.02% 0.129 298.7)
XYZxyz(4.5778, 2.5623, 13.0827)
Luminance0.0256 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B1867 #446718
analogous
#181D67 #3B1867 #621867
triadic
#3B1867 #673B18 #18673B
tetradic
#3B1867 #67181D #446718 #186762
square
#3B1867 #67181D #446718 #186762
split-complementary
#3B1867 #676218 #1D6718
monochromatic
#0E0619 #1F0C35 #3B1867 #572499 #742FCA

Accessibility & contrast

On white

13.89
#3B1867 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B1867
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B1867#FFFFFF#000000##FFFFFF
##3B18671.0013.891.5113.89
#FFFFFF13.891.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3b1867;
/* rgb */ color: rgb(59, 24, 103);
/* oklch */ color: oklch(31.0% 0.129 298.7);
Tailwind
colors: {
  custom: {
    50: '#765893',
    500: '#3b1867',
    950: '#000000',
  },
}
SCSS
$custom: #3b1867;
$custom-light: #765893;
$custom-dark: #000000;
JSON
{
  "hex": "#3b1867",
  "rgb": {
    "r": 59,
    "g": 24,
    "b": 103
  },
  "hsl": {
    "h": 266.582,
    "s": 62.205,
    "l": 24.902
  },
  "oklch": {
    "l": 0.31022,
    "c": 0.12944,
    "h": 298.7
  },
  "luminance": 0.02562
}

Semantic roles & 50–950 ramp

primary
#3B1867
secondary
#739D3E
accent
#E5439D
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3B1867

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

Preview Lab → · Contrast checker → · Palette generator →

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