#3B1A67#3B1A67

#3B1A67 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.3% C 0.127 H 298.3°. Best body text is #FFFFFF at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#3B1A67
RGBrgb(59, 26, 103)
HSLhsl(266, 60%, 25%)
HSVhsv(266, 75%, 40%)
CMYKcmyk(42.7%, 74.8%, 0%, 59.6%)
CIE-LABlab(18.57, 33.46, -39.12)
CIE-LCHlch(18.57, 51.47, 310.54°)
OKLaboklab(31.29% 0.0601 -0.1117)
OKLCHoklch(31.29% 0.127 298.3)
XYZxyz(4.6206, 2.6478, 13.0970)
Luminance0.0265 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B1A67 #46671A
analogous
#1A2067 #3B1A67 #611A67
triadic
#3B1A67 #673B1A #1A673B
tetradic
#3B1A67 #671A20 #46671A #1A6761
square
#3B1A67 #671A20 #46671A #1A6761
split-complementary
#3B1A67 #67611A #20671A
monochromatic
#0E0618 #1F0E36 #3B1A67 #572698 #7333C9

Accessibility & contrast

On white

13.73
#3B1A67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#3B1A67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B1A67
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B1A67#FFFFFF#000000##FFFFFF
##3B1A671.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3b1a67;
/* rgb */ color: rgb(59, 26, 103);
/* oklch */ color: oklch(31.3% 0.127 298.3);
Tailwind
colors: {
  custom: {
    50: '#765a93',
    500: '#3b1a67',
    950: '#000000',
  },
}
SCSS
$custom: #3b1a67;
$custom-light: #765a93;
$custom-dark: #000000;
JSON
{
  "hex": "#3b1a67",
  "rgb": {
    "r": 59,
    "g": 26,
    "b": 103
  },
  "hsl": {
    "h": 265.714,
    "s": 59.69,
    "l": 25.294
  },
  "oklch": {
    "l": 0.31289,
    "c": 0.12684,
    "h": 298.3
  },
  "luminance": 0.02648
}

Semantic roles & 50–950 ramp

primary
#3B1A67
secondary
#759D40
accent
#E3459F
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09040D
muted
#7B797E

Preview Lab

Preview with #3B1A67

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

Preview Lab → · Contrast checker → · Palette generator →

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