#3A1769#3A1769

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

Color values

HEX#3A1769
RGBrgb(58, 23, 105)
HSLhsl(266, 64%, 25%)
HSVhsv(266, 78%, 41%)
CMYKcmyk(44.8%, 78.1%, 0%, 58.8%)
CIE-LABlab(18.06, 35.39, -41.26)
CIE-LCHlch(18.06, 54.36, 310.62°)
OKLaboklab(30.95% 0.0612 -0.118)
OKLCHoklch(30.95% 0.133 297.4)
XYZxyz(4.6005, 2.5322, 13.6082)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A1769 #466917
analogous
#171D69 #3A1769 #631769
triadic
#3A1769 #693A17 #17693A
tetradic
#3A1769 #69171D #466917 #176963
square
#3A1769 #69171D #466917 #176963
split-complementary
#3A1769 #696317 #1D6917
monochromatic
#0E0519 #1E0C37 #3A1769 #56229B #712DCD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A1769#FFFFFF#000000##FFFFFF
##3A17691.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)
#002C6B
Deuteranopia (green-blind)
#002B67
Tritanopia (blue-blind)
#2E2C3F
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #3a1769;
/* rgb */ color: rgb(58, 23, 105);
/* oklch */ color: oklch(31.0% 0.133 297.4);
Tailwind
colors: {
  custom: {
    50: '#755895',
    500: '#3a1769',
    950: '#000000',
  },
}
SCSS
$custom: #3a1769;
$custom-light: #755895;
$custom-dark: #000000;
JSON
{
  "hex": "#3a1769",
  "rgb": {
    "r": 58,
    "g": 23,
    "b": 105
  },
  "hsl": {
    "h": 265.61,
    "s": 64.063,
    "l": 25.098
  },
  "oklch": {
    "l": 0.30954,
    "c": 0.13295,
    "h": 297.4
  },
  "luminance": 0.02532
}

Semantic roles & 50–950 ramp

primary
#3A1769
secondary
#759F3D
accent
#E741A0
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3A1769

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

Preview Lab → · Contrast checker → · Palette generator →

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