#3A1070#3A1070

#3A1070 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.9% C 0.148 H 296.0°. Best body text is #FFFFFF at 14.11:1 contrast (WCAG AA passes).

Color values

HEX#3A1070
RGBrgb(58, 16, 112)
HSLhsl(266, 75%, 25%)
HSVhsv(266, 86%, 44%)
CMYKcmyk(48.2%, 85.7%, 0%, 56.1%)
CIE-LABlab(17.64, 40.49, -46.51)
CIE-LCHlch(17.64, 61.67, 311.04°)
OKLaboklab(30.87% 0.0649 -0.1334)
OKLCHoklch(30.87% 0.148 296)
XYZxyz(4.8541, 2.4399, 15.5413)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A1070 #467010
analogous
#101670 #3A1070 #6A1070
triadic
#3A1070 #703A10 #10703A
tetradic
#3A1070 #701016 #467010 #10706A
square
#3A1070 #701016 #467010 #10706A
split-complementary
#3A1070 #706A10 #167010
monochromatic
#0E041B #1E083A #3A1070 #5618A6 #711FDB

Accessibility & contrast

On white

14.11
#3A1070 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#3A1070 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A1070
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A1070#FFFFFF#000000##FFFFFF
##3A10701.0014.111.4914.11
#FFFFFF14.111.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C73
Deuteranopia (green-blind)
#002A6E
Tritanopia (blue-blind)
#2B2C41
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #3a1070;
/* rgb */ color: rgb(58, 16, 112);
/* oklch */ color: oklch(30.9% 0.148 296.0);
Tailwind
colors: {
  custom: {
    50: '#77559a',
    500: '#3a1070',
    950: '#000000',
  },
}
SCSS
$custom: #3a1070;
$custom-light: #77559a;
$custom-dark: #000000;
JSON
{
  "hex": "#3a1070",
  "rgb": {
    "r": 58,
    "g": 16,
    "b": 112
  },
  "hsl": {
    "h": 266.25,
    "s": 75,
    "l": 25.098
  },
  "oklch": {
    "l": 0.3087,
    "c": 0.14835,
    "h": 296
  },
  "luminance": 0.0244
}

Semantic roles & 50–950 ramp

primary
#3A1070
secondary
#75A834
accent
#F236A0
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #3A1070

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

Preview Lab → · Contrast checker → · Palette generator →

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