#3A1967#3A1967

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

Color values

HEX#3A1967
RGBrgb(58, 25, 103)
HSLhsl(265, 61%, 25%)
HSVhsv(265, 76%, 40%)
CMYKcmyk(43.7%, 75.7%, 0%, 59.6%)
CIE-LABlab(18.25, 33.79, -39.65)
CIE-LCHlch(18.25, 52.09, 310.44°)
OKLaboklab(31.03% 0.0596 -0.1133)
OKLCHoklch(31.03% 0.128 297.7)
XYZxyz(4.5401, 2.5740, 13.0870)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A1967 #466719
analogous
#191F67 #3A1967 #611967
triadic
#3A1967 #673A19 #19673A
tetradic
#3A1967 #67191F #466719 #196761
square
#3A1967 #67191F #466719 #196761
split-complementary
#3A1967 #676119 #1F6719
monochromatic
#0E0619 #1E0D36 #3A1967 #562598 #7131C9

Accessibility & contrast

On white

13.86
#3A1967 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A1967
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A1967#FFFFFF#000000##FFFFFF
##3A19671.0013.861.5113.86
#FFFFFF13.861.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a1967;
/* rgb */ color: rgb(58, 25, 103);
/* oklch */ color: oklch(31.0% 0.128 297.7);
Tailwind
colors: {
  custom: {
    50: '#755993',
    500: '#3a1967',
    950: '#000000',
  },
}
SCSS
$custom: #3a1967;
$custom-light: #755993;
$custom-dark: #000000;
JSON
{
  "hex": "#3a1967",
  "rgb": {
    "r": 58,
    "g": 25,
    "b": 103
  },
  "hsl": {
    "h": 265.385,
    "s": 60.938,
    "l": 25.098
  },
  "oklch": {
    "l": 0.31029,
    "c": 0.12803,
    "h": 297.7
  },
  "luminance": 0.02574
}

Semantic roles & 50–950 ramp

primary
#3A1967
secondary
#759D3F
accent
#E444A0
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09040D
muted
#7B797E

Preview Lab

Preview with #3A1967

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

Preview Lab → · Contrast checker → · Palette generator →

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