#3A1083#3A1083

#3A1083 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.9% C 0.169 H 289.8°. Best body text is #FFFFFF at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#3A1083
RGBrgb(58, 16, 131)
HSLhsl(262, 78%, 29%)
HSVhsv(262, 88%, 51%)
CMYKcmyk(55.7%, 87.8%, 0%, 48.6%)
CIE-LABlab(19.67, 45.61, -55.34)
CIE-LCHlch(19.67, 71.71, 309.49°)
OKLaboklab(32.87% 0.0574 -0.1592)
OKLCHoklch(32.87% 0.169 289.8)
XYZxyz(6.0258, 2.9085, 21.7122)
Luminance0.0291 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A1083 #598310
analogous
#102083 #3A1083 #741083
triadic
#3A1083 #833A10 #10833A
tetradic
#3A1083 #831020 #598310 #108374
square
#3A1083 #831020 #598310 #108374
split-complementary
#3A1083 #837410 #208310
monochromatic
#0C031B #22094C #3A1083 #5217BA #6D29E5

Accessibility & contrast

On white

13.28
#3A1083 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A1083
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A1083#FFFFFF#000000##FFFFFF
##3A10831.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003286
Deuteranopia (green-blind)
#002D81
Tritanopia (blue-blind)
#1D354C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #3a1083;
/* rgb */ color: rgb(58, 16, 131);
/* oklch */ color: oklch(32.9% 0.169 289.8);
Tailwind
colors: {
  custom: {
    50: '#7a56a8',
    500: '#3a1083',
    950: '#000000',
  },
}
SCSS
$custom: #3a1083;
$custom-light: #7a56a8;
$custom-dark: #000000;
JSON
{
  "hex": "#3a1083",
  "rgb": {
    "r": 58,
    "g": 16,
    "b": 131
  },
  "hsl": {
    "h": 261.913,
    "s": 78.231,
    "l": 28.824
  },
  "oklch": {
    "l": 0.32873,
    "c": 0.16924,
    "h": 289.8
  },
  "luminance": 0.02909
}

Semantic roles & 50–950 ramp

primary
#3A1083
secondary
#89B936
accent
#F533AE
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0310
muted
#7C787F

Preview Lab

Preview with #3A1083

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

Preview Lab → · Contrast checker → · Palette generator →

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