#3A1975#3A1975

#3A1975 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.4% C 0.145 H 292.7°. Best body text is #FFFFFF at 13.33:1 contrast (WCAG AA passes).

Color values

HEX#3A1975
RGBrgb(58, 25, 117)
HSLhsl(262, 65%, 28%)
HSVhsv(262, 79%, 46%)
CMYKcmyk(50.4%, 78.6%, 0%, 54.1%)
CIE-LABlab(19.55, 37.81, -46.61)
CIE-LCHlch(19.55, 60.02, 309.05°)
OKLaboklab(32.35% 0.056 -0.1338)
OKLCHoklch(32.35% 0.145 292.7)
XYZxyz(5.3025, 2.8790, 17.1025)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A1975 #547519
analogous
#192675 #3A1975 #681975
triadic
#3A1975 #753A19 #19753A
tetradic
#3A1975 #751926 #547519 #197568
square
#3A1975 #751926 #547519 #197568
split-complementary
#3A1975 #756819 #267519
monochromatic
#0C0519 #210E43 #3A1975 #5324A7 #6E35D4

Accessibility & contrast

On white

13.33
#3A1975 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#3A1975 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A1975
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A1975#FFFFFF#000000##FFFFFF
##3A19751.0013.331.5813.33
#FFFFFF13.331.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003178
Deuteranopia (green-blind)
#002E73
Tritanopia (blue-blind)
#273246
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #3a1975;
/* rgb */ color: rgb(58, 25, 117);
/* oklch */ color: oklch(32.4% 0.145 292.7);
Tailwind
colors: {
  custom: {
    50: '#775a9e',
    500: '#3a1975',
    950: '#000000',
  },
}
SCSS
$custom: #3a1975;
$custom-light: #775a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#3a1975",
  "rgb": {
    "r": 58,
    "g": 25,
    "b": 117
  },
  "hsl": {
    "h": 261.522,
    "s": 64.789,
    "l": 27.843
  },
  "oklch": {
    "l": 0.3235,
    "c": 0.14502,
    "h": 292.7
  },
  "luminance": 0.02879
}

Semantic roles & 50–950 ramp

primary
#3A1975
secondary
#84AA40
accent
#E840AC
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #3A1975

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

Preview Lab → · Contrast checker → · Palette generator →

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