#3A1667#3A1667

#3A1667 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.6% C 0.132 H 298.4°. Best body text is #FFFFFF at 14.09:1 contrast (WCAG AA passes).

Color values

HEX#3A1667
RGBrgb(58, 22, 103)
HSLhsl(267, 65%, 25%)
HSVhsv(267, 79%, 40%)
CMYKcmyk(43.7%, 78.6%, 0%, 59.6%)
CIE-LABlab(17.70, 35.33, -40.54)
CIE-LCHlch(17.70, 53.78, 311.07°)
OKLaboklab(30.64% 0.0627 -0.1159)
OKLCHoklch(30.64% 0.132 298.4)
XYZxyz(4.4794, 2.4526, 13.0667)
Luminance0.0245 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A1667 #436716
analogous
#161A67 #3A1667 #631667
triadic
#3A1667 #673A16 #16673A
tetradic
#3A1667 #67161A #436716 #166763
square
#3A1667 #67161A #436716 #166763
split-complementary
#3A1667 #676316 #1A6716
monochromatic
#0E0519 #1E0B35 #3A1667 #562199 #732CCC

Accessibility & contrast

On white

14.09
#3A1667 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#3A1667 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A1667
14.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A1667#FFFFFF#000000##FFFFFF
##3A16671.0014.091.4914.09
#FFFFFF14.091.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B69
Deuteranopia (green-blind)
#002B65
Tritanopia (blue-blind)
#2F2B3D
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #3a1667;
/* rgb */ color: rgb(58, 22, 103);
/* oklch */ color: oklch(30.6% 0.132 298.4);
Tailwind
colors: {
  custom: {
    50: '#755793',
    500: '#3a1667',
    950: '#000000',
  },
}
SCSS
$custom: #3a1667;
$custom-light: #755793;
$custom-dark: #000000;
JSON
{
  "hex": "#3a1667",
  "rgb": {
    "r": 58,
    "g": 22,
    "b": 103
  },
  "hsl": {
    "h": 266.667,
    "s": 64.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.30642,
    "c": 0.13178,
    "h": 298.4
  },
  "luminance": 0.02453
}

Semantic roles & 50–950 ramp

primary
#3A1667
secondary
#729E3B
accent
#E8409D
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3A1667

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

Preview Lab → · Contrast checker → · Palette generator →

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