#3A1965#3A1965

#3A1965 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.8% C 0.126 H 298.5°. Best body text is #FFFFFF at 13.94:1 contrast (WCAG AA passes).

Color values

HEX#3A1965
RGBrgb(58, 25, 101)
HSLhsl(266, 60%, 25%)
HSVhsv(266, 75%, 40%)
CMYKcmyk(42.6%, 75.2%, 0%, 60.4%)
CIE-LABlab(18.07, 33.22, -38.62)
CIE-LCHlch(18.07, 50.94, 310.70°)
OKLaboklab(30.85% 0.06 -0.1103)
OKLCHoklch(30.85% 0.126 298.5)
XYZxyz(4.4409, 2.5343, 12.5646)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A1965 #446519
analogous
#191E65 #3A1965 #601965
triadic
#3A1965 #653A19 #19653A
tetradic
#3A1965 #65191E #446519 #196560
square
#3A1965 #65191E #446519 #196560
split-complementary
#3A1965 #656019 #1E6519
monochromatic
#0E0619 #1E0D34 #3A1965 #562596 #7231C7

Accessibility & contrast

On white

13.94
#3A1965 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A1965
13.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A1965#FFFFFF#000000##FFFFFF
##3A19651.0013.941.5113.94
#FFFFFF13.941.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C67
Deuteranopia (green-blind)
#002B63
Tritanopia (blue-blind)
#302C3D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #3a1965;
/* rgb */ color: rgb(58, 25, 101);
/* oklch */ color: oklch(30.8% 0.126 298.5);
Tailwind
colors: {
  custom: {
    50: '#755992',
    500: '#3a1965',
    950: '#000000',
  },
}
SCSS
$custom: #3a1965;
$custom-light: #755992;
$custom-dark: #000000;
JSON
{
  "hex": "#3a1965",
  "rgb": {
    "r": 58,
    "g": 25,
    "b": 101
  },
  "hsl": {
    "h": 266.053,
    "s": 60.317,
    "l": 24.706
  },
  "oklch": {
    "l": 0.30849,
    "c": 0.12556,
    "h": 298.5
  },
  "luminance": 0.02534
}

Semantic roles & 50–950 ramp

primary
#3A1965
secondary
#739B3F
accent
#E3449E
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09040D
muted
#7B797E

Preview Lab

Preview with #3A1965

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

Preview Lab → · Contrast checker → · Palette generator →

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