#3016A1#3016A1

#3016A1 is a dark, highly saturated violet. Relative luminance 0.038; OKLCH L 35.9% C 0.200 H 277.8°. Best body text is #FFFFFF at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#3016A1
RGBrgb(48, 22, 161)
HSLhsl(251, 76%, 36%)
HSVhsv(251, 86%, 63%)
CMYKcmyk(70.2%, 86.3%, 0%, 36.9%)
CIE-LABlab(22.91, 50.82, -68.63)
CIE-LCHlch(22.91, 85.39, 306.52°)
OKLaboklab(35.86% 0.0271 -0.1982)
OKLCHoklch(35.86% 0.2 277.8)
XYZxyz(7.9368, 3.7747, 34.0216)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3016A1 #87A116
analogous
#1641A1 #3016A1 #7516A1
triadic
#3016A1 #A13016 #16A130
tetradic
#3016A1 #A11641 #87A116 #16A175
square
#3016A1 #A11641 #87A116 #16A175
split-complementary
#3016A1 #A17516 #41A116
monochromatic
#100735 #200F6B #3016A1 #401DD7 #684BE6

Accessibility & contrast

On white

11.97
#3016A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#3016A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3016A1
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3016A1#FFFFFF#000000##FFFFFF
##3016A11.0011.971.7611.97
#FFFFFF11.971.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003CA5
Deuteranopia (green-blind)
#00319F
Tritanopia (blue-blind)
#00445F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #3016a1;
/* rgb */ color: rgb(48, 22, 161);
/* oklch */ color: oklch(35.9% 0.200 277.8);
Tailwind
colors: {
  custom: {
    50: '#7b5abe',
    500: '#3016a1',
    950: '#000000',
  },
}
SCSS
$custom: #3016a1;
$custom-light: #7b5abe;
$custom-dark: #000000;
JSON
{
  "hex": "#3016a1",
  "rgb": {
    "r": 48,
    "g": 22,
    "b": 161
  },
  "hsl": {
    "h": 251.223,
    "s": 75.956,
    "l": 35.882
  },
  "oklch": {
    "l": 0.3586,
    "c": 0.20004,
    "h": 277.8
  },
  "luminance": 0.03775
}

Semantic roles & 50–950 ramp

primary
#3016A1
secondary
#B1C84B
accent
#F335CF
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #3016A1

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

Preview Lab → · Contrast checker → · Palette generator →

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