#3A1075#3A1075

#3A1075 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.4% C 0.154 H 294.2°. Best body text is #FFFFFF at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#3A1075
RGBrgb(58, 16, 117)
HSLhsl(265, 76%, 26%)
HSVhsv(265, 86%, 46%)
CMYKcmyk(50.4%, 86.3%, 0%, 54.1%)
CIE-LABlab(18.16, 41.83, -48.90)
CIE-LCHlch(18.16, 64.35, 310.55°)
OKLaboklab(31.38% 0.0631 -0.1403)
OKLCHoklch(31.38% 0.154 294.2)
XYZxyz(5.1402, 2.5543, 17.0484)
Luminance0.0255 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A1075 #4B7510
analogous
#101975 #3A1075 #6C1075
triadic
#3A1075 #753A10 #10753A
tetradic
#3A1075 #751019 #4B7510 #10756C
square
#3A1075 #751019 #4B7510 #10756C
split-complementary
#3A1075 #756C10 #197510
monochromatic
#0D041B #1F093F #3A1075 #5517AB #6F1FE0

Accessibility & contrast

On white

13.90
#3A1075 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A1075
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A1075#FFFFFF#000000##FFFFFF
##3A10751.0013.901.5113.90
#FFFFFF13.901.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D78
Deuteranopia (green-blind)
#002B73
Tritanopia (blue-blind)
#282E44
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #3a1075;
/* rgb */ color: rgb(58, 16, 117);
/* oklch */ color: oklch(31.4% 0.154 294.2);
Tailwind
colors: {
  custom: {
    50: '#78559e',
    500: '#3a1075',
    950: '#000000',
  },
}
SCSS
$custom: #3a1075;
$custom-light: #78559e;
$custom-dark: #000000;
JSON
{
  "hex": "#3a1075",
  "rgb": {
    "r": 58,
    "g": 16,
    "b": 117
  },
  "hsl": {
    "h": 264.95,
    "s": 75.94,
    "l": 26.078
  },
  "oklch": {
    "l": 0.31384,
    "c": 0.15387,
    "h": 294.2
  },
  "luminance": 0.02554
}

Semantic roles & 50–950 ramp

primary
#3A1075
secondary
#7AAC35
accent
#F335A4
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030E
muted
#7C787E

Preview Lab

Preview with #3A1075

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

Preview Lab → · Contrast checker → · Palette generator →

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