#3A1269#3A1269

#3A1269 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.4% C 0.139 H 298.3°. Best body text is #FFFFFF at 14.28:1 contrast (WCAG AA passes).

Color values

HEX#3A1269
RGBrgb(58, 18, 105)
HSLhsl(268, 71%, 24%)
HSVhsv(268, 83%, 41%)
CMYKcmyk(44.8%, 82.9%, 0%, 58.8%)
CIE-LABlab(17.24, 37.76, -42.62)
CIE-LCHlch(17.24, 56.94, 311.54°)
OKLaboklab(30.37% 0.0658 -0.122)
OKLCHoklch(30.37% 0.139 298.3)
XYZxyz(4.5104, 2.3520, 13.5782)
Luminance0.0235 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A1269 #416912
analogous
#121669 #3A1269 #661269
triadic
#3A1269 #693A12 #12693A
tetradic
#3A1269 #691216 #416912 #126966
square
#3A1269 #691216 #416912 #126966
split-complementary
#3A1269 #696612 #166912
monochromatic
#0E041A #1D0935 #3A1269 #571B9D #7424D1

Accessibility & contrast

On white

14.28
#3A1269 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A1269
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A1269#FFFFFF#000000##FFFFFF
##3A12691.0014.281.4714.28
#FFFFFF14.281.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a1269;
/* rgb */ color: rgb(58, 18, 105);
/* oklch */ color: oklch(30.4% 0.139 298.3);
Tailwind
colors: {
  custom: {
    50: '#765595',
    500: '#3a1269',
    950: '#000000',
  },
}
SCSS
$custom: #3a1269;
$custom-light: #765595;
$custom-dark: #000000;
JSON
{
  "hex": "#3a1269",
  "rgb": {
    "r": 58,
    "g": 18,
    "b": 105
  },
  "hsl": {
    "h": 267.586,
    "s": 70.732,
    "l": 24.118
  },
  "oklch": {
    "l": 0.30373,
    "c": 0.1386,
    "h": 298.3
  },
  "luminance": 0.02352
}

Semantic roles & 50–950 ramp

primary
#3A1269
secondary
#70A136
accent
#ED3A9B
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3A1269

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

Preview Lab → · Contrast checker → · Palette generator →

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