#3016A0#3016A0

#3016A0 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.7% C 0.199 H 277.9°. Best body text is #FFFFFF at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#3016A0
RGBrgb(48, 22, 160)
HSLhsl(251, 76%, 36%)
HSVhsv(251, 86%, 63%)
CMYKcmyk(70%, 86.3%, 0%, 37.3%)
CIE-LABlab(22.79, 50.53, -68.22)
CIE-LCHlch(22.79, 84.89, 306.53°)
OKLaboklab(35.74% 0.0274 -0.197)
OKLCHoklch(35.74% 0.199 277.9)
XYZxyz(7.8489, 3.7396, 33.5591)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3016A0 #86A016
analogous
#1641A0 #3016A0 #7516A0
triadic
#3016A0 #A03016 #16A030
tetradic
#3016A0 #A01641 #86A016 #16A075
square
#3016A0 #A01641 #86A016 #16A075
split-complementary
#3016A0 #A07516 #41A016
monochromatic
#100734 #200F6A #3016A0 #401DD6 #684AE6

Accessibility & contrast

On white

12.01
#3016A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#3016A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3016A0
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3016A0#FFFFFF#000000##FFFFFF
##3016A01.0012.011.7512.01
#FFFFFF12.011.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003CA4
Deuteranopia (green-blind)
#00319E
Tritanopia (blue-blind)
#00445E
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #3016a0;
/* rgb */ color: rgb(48, 22, 160);
/* oklch */ color: oklch(35.7% 0.199 277.9);
Tailwind
colors: {
  custom: {
    50: '#7b5abe',
    500: '#3016a0',
    950: '#000000',
  },
}
SCSS
$custom: #3016a0;
$custom-light: #7b5abe;
$custom-dark: #000000;
JSON
{
  "hex": "#3016a0",
  "rgb": {
    "r": 48,
    "g": 22,
    "b": 160
  },
  "hsl": {
    "h": 251.304,
    "s": 75.824,
    "l": 35.686
  },
  "oklch": {
    "l": 0.35743,
    "c": 0.1989,
    "h": 277.9
  },
  "luminance": 0.0374
}

Semantic roles & 50–950 ramp

primary
#3016A0
secondary
#B0C84A
accent
#F235CF
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #3016A0

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

Preview Lab → · Contrast checker → · Palette generator →

#3016A0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva