#3A1055#3A1055

#3A1055 is a dark, moderate violet. Relative luminance 0.019; OKLCH L 28.3% C 0.118 H 308.2°. Best body text is #FFFFFF at 15.16:1 contrast (WCAG AA passes).

Color values

HEX#3A1055
RGBrgb(58, 16, 85)
HSLhsl(277, 68%, 20%)
HSVhsv(277, 81%, 33%)
CMYKcmyk(31.8%, 81.2%, 0%, 66.7%)
CIE-LABlab(15.09, 33.41, -32.78)
CIE-LCHlch(15.09, 46.81, 315.55°)
OKLaboklab(28.31% 0.0732 -0.0931)
OKLCHoklch(28.31% 0.118 308.2)
XYZxyz(3.5696, 1.9261, 8.7763)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A1055 #2B5510
analogous
#181055 #3A1055 #55104E
triadic
#3A1055 #553A10 #10553A
tetradic
#3A1055 #551810 #2B5510 #104E55
square
#3A1055 #551810 #2B5510 #104E55
split-complementary
#3A1055 #4E5510 #105518
monochromatic
#12051A #170621 #3A1055 #5D1A89 #8023BC

Accessibility & contrast

On white

15.16
#3A1055 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#3A1055 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A1055
15.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A1055#FFFFFF#000000##FFFFFF
##3A10551.0015.161.3915.16
#FFFFFF15.161.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002457
Deuteranopia (green-blind)
#002654
Tritanopia (blue-blind)
#362132
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3a1055;
/* rgb */ color: rgb(58, 16, 85);
/* oklch */ color: oklch(28.3% 0.118 308.2);
Tailwind
colors: {
  custom: {
    50: '#745385',
    500: '#3a1055',
    950: '#000000',
  },
}
SCSS
$custom: #3a1055;
$custom-light: #745385;
$custom-dark: #000000;
JSON
{
  "hex": "#3a1055",
  "rgb": {
    "r": 58,
    "g": 16,
    "b": 85
  },
  "hsl": {
    "h": 276.522,
    "s": 68.317,
    "l": 19.804
  },
  "oklch": {
    "l": 0.28305,
    "c": 0.11843,
    "h": 308.2
  },
  "luminance": 0.01926
}

Semantic roles & 50–950 ramp

primary
#3A1055
secondary
#568F32
accent
#EB3D81
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #3A1055

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

Preview Lab → · Contrast checker → · Palette generator →

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