#3A107E#3A107E

#3A107E is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.3% C 0.164 H 291.3°. Best body text is #FFFFFF at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#3A107E
RGBrgb(58, 16, 126)
HSLhsl(263, 77%, 28%)
HSVhsv(263, 87%, 49%)
CMYKcmyk(54%, 87.3%, 0%, 50.6%)
CIE-LABlab(19.12, 44.26, -53.07)
CIE-LCHlch(19.12, 69.10, 309.82°)
OKLaboklab(32.33% 0.0595 -0.1526)
OKLCHoklch(32.33% 0.164 291.3)
XYZxyz(5.6950, 2.7762, 19.9704)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A107E #547E10
analogous
#101D7E #3A107E #71107E
triadic
#3A107E #7E3A10 #107E3A
tetradic
#3A107E #7E101D #547E10 #107E71
square
#3A107E #7E101D #547E10 #107E71
split-complementary
#3A107E #7E7110 #1D7E10
monochromatic
#0C031B #210948 #3A107E #5317B4 #6E25E3

Accessibility & contrast

On white

13.50
#3A107E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#3A107E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A107E
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A107E#FFFFFF#000000##FFFFFF
##3A107E1.0013.501.5613.50
#FFFFFF13.501.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003081
Deuteranopia (green-blind)
#002C7C
Tritanopia (blue-blind)
#213249
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #3a107e;
/* rgb */ color: rgb(58, 16, 126);
/* oklch */ color: oklch(32.3% 0.164 291.3);
Tailwind
colors: {
  custom: {
    50: '#7956a4',
    500: '#3a107e',
    950: '#000000',
  },
}
SCSS
$custom: #3a107e;
$custom-light: #7956a4;
$custom-dark: #000000;
JSON
{
  "hex": "#3a107e",
  "rgb": {
    "r": 58,
    "g": 16,
    "b": 126
  },
  "hsl": {
    "h": 262.909,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.32333,
    "c": 0.16376,
    "h": 291.3
  },
  "luminance": 0.02776
}

Semantic roles & 50–950 ramp

primary
#3A107E
secondary
#84B436
accent
#F434AB
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A030F
muted
#7C787F

Preview Lab

Preview with #3A107E

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

Preview Lab → · Contrast checker → · Palette generator →

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