#3A1466#3A1466

#3A1466 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.3% C 0.133 H 299.2°. Best body text is #FFFFFF at 14.27:1 contrast (WCAG AA passes).

Color values

HEX#3A1466
RGBrgb(58, 20, 102)
HSLhsl(268, 67%, 24%)
HSVhsv(268, 80%, 40%)
CMYKcmyk(43.1%, 80.4%, 0%, 60%)
CIE-LABlab(17.27, 36.03, -40.59)
CIE-LCHlch(17.27, 54.28, 311.59°)
OKLaboklab(30.31% 0.0649 -0.116)
OKLCHoklch(30.31% 0.133 299.2)
XYZxyz(4.3927, 2.3591, 12.7917)
Luminance0.0236 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A1466 #406614
analogous
#141766 #3A1466 #631466
triadic
#3A1466 #663A14 #14663A
tetradic
#3A1466 #661417 #406614 #146663
square
#3A1466 #661417 #406614 #146663
split-complementary
#3A1466 #666314 #176614
monochromatic
#0F051A #1D0A33 #3A1466 #571E99 #7428CC

Accessibility & contrast

On white

14.27
#3A1466 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#3A1466 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A1466
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A1466#FFFFFF#000000##FFFFFF
##3A14661.0014.271.4714.27
#FFFFFF14.271.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A68
Deuteranopia (green-blind)
#002A64
Tritanopia (blue-blind)
#2F2A3C
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #3a1466;
/* rgb */ color: rgb(58, 20, 102);
/* oklch */ color: oklch(30.3% 0.133 299.2);
Tailwind
colors: {
  custom: {
    50: '#755692',
    500: '#3a1466',
    950: '#000000',
  },
}
SCSS
$custom: #3a1466;
$custom-light: #755692;
$custom-dark: #000000;
JSON
{
  "hex": "#3a1466",
  "rgb": {
    "r": 58,
    "g": 20,
    "b": 102
  },
  "hsl": {
    "h": 267.805,
    "s": 67.213,
    "l": 23.922
  },
  "oklch": {
    "l": 0.30309,
    "c": 0.13296,
    "h": 299.2
  },
  "luminance": 0.02359
}

Semantic roles & 50–950 ramp

primary
#3A1466
secondary
#6F9D39
accent
#EA3E9A
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3A1466

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

Preview Lab → · Contrast checker → · Palette generator →

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