#3A1065#3A1065

#3A1065 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.8% C 0.136 H 300.3°. Best body text is #FFFFFF at 14.56:1 contrast (WCAG AA passes).

Color values

HEX#3A1065
RGBrgb(58, 16, 101)
HSLhsl(270, 73%, 23%)
HSVhsv(270, 84%, 40%)
CMYKcmyk(42.6%, 84.2%, 0%, 60.4%)
CIE-LABlab(16.55, 37.56, -41.11)
CIE-LCHlch(16.55, 55.68, 312.42°)
OKLaboklab(29.78% 0.0688 -0.1175)
OKLCHoklch(29.78% 0.136 300.3)
XYZxyz(4.2786, 2.2097, 12.5105)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A1065 #3B6510
analogous
#101065 #3A1065 #641065
triadic
#3A1065 #653A10 #10653A
tetradic
#3A1065 #651010 #3B6510 #106564
square
#3A1065 #651010 #3B6510 #106564
split-complementary
#3A1065 #656410 #106510
monochromatic
#0F041A #1C0830 #3A1065 #58189A #7721CF

Accessibility & contrast

On white

14.56
#3A1065 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#3A1065 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A1065
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A1065#FFFFFF#000000##FFFFFF
##3A10651.0014.561.4414.56
#FFFFFF14.561.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002967
Deuteranopia (green-blind)
#002863
Tritanopia (blue-blind)
#30273B
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #3a1065;
/* rgb */ color: rgb(58, 16, 101);
/* oklch */ color: oklch(29.8% 0.136 300.3);
Tailwind
colors: {
  custom: {
    50: '#755492',
    500: '#3a1065',
    950: '#000000',
  },
}
SCSS
$custom: #3a1065;
$custom-light: #755492;
$custom-dark: #000000;
JSON
{
  "hex": "#3a1065",
  "rgb": {
    "r": 58,
    "g": 16,
    "b": 101
  },
  "hsl": {
    "h": 269.647,
    "s": 72.65,
    "l": 22.941
  },
  "oklch": {
    "l": 0.29778,
    "c": 0.13619,
    "h": 300.3
  },
  "luminance": 0.0221
}

Semantic roles & 50–950 ramp

primary
#3A1065
secondary
#699D33
accent
#EF3895
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3A1065

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

Preview Lab → · Contrast checker → · Palette generator →

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