#3A1069#3A1069

#3A1069 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.2% C 0.141 H 298.7°. Best body text is #FFFFFF at 14.40:1 contrast (WCAG AA passes).

Color values

HEX#3A1069
RGBrgb(58, 16, 105)
HSLhsl(268, 74%, 24%)
HSVhsv(268, 85%, 41%)
CMYKcmyk(44.8%, 84.8%, 0%, 58.8%)
CIE-LABlab(16.94, 38.62, -43.10)
CIE-LCHlch(16.94, 57.87, 311.86°)
OKLaboklab(30.17% 0.0675 -0.1234)
OKLCHoklch(30.17% 0.141 298.7)
XYZxyz(4.4794, 2.2900, 13.5679)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A1069 #3F6910
analogous
#101269 #3A1069 #661069
triadic
#3A1069 #693A10 #10693A
tetradic
#3A1069 #691012 #3F6910 #106966
square
#3A1069 #691012 #3F6910 #106966
split-complementary
#3A1069 #696610 #126910
monochromatic
#0F041B #1D0834 #3A1069 #57189E #7520D3

Accessibility & contrast

On white

14.40
#3A1069 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#3A1069 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A1069
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A1069#FFFFFF#000000##FFFFFF
##3A10691.0014.401.4614.40
#FFFFFF14.401.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6B
Deuteranopia (green-blind)
#002967
Tritanopia (blue-blind)
#2E293D
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #3a1069;
/* rgb */ color: rgb(58, 16, 105);
/* oklch */ color: oklch(30.2% 0.141 298.7);
Tailwind
colors: {
  custom: {
    50: '#765495',
    500: '#3a1069',
    950: '#000000',
  },
}
SCSS
$custom: #3a1069;
$custom-light: #765495;
$custom-dark: #000000;
JSON
{
  "hex": "#3a1069",
  "rgb": {
    "r": 58,
    "g": 16,
    "b": 105
  },
  "hsl": {
    "h": 268.315,
    "s": 73.554,
    "l": 23.725
  },
  "oklch": {
    "l": 0.30168,
    "c": 0.14062,
    "h": 298.7
  },
  "luminance": 0.0229
}

Semantic roles & 50–950 ramp

primary
#3A1069
secondary
#6DA134
accent
#F03899
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3A1069

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

Preview Lab → · Contrast checker → · Palette generator →

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