#3014A1#3014A1

#3014A1 is a dark, highly saturated violet. Relative luminance 0.037; OKLCH L 35.7% C 0.201 H 277.9°. Best body text is #FFFFFF at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#3014A1
RGBrgb(48, 20, 161)
HSLhsl(252, 78%, 35%)
HSVhsv(252, 88%, 63%)
CMYKcmyk(70.2%, 87.6%, 0%, 36.9%)
CIE-LABlab(22.66, 51.58, -69.05)
CIE-LCHlch(22.66, 86.18, 306.76°)
OKLaboklab(35.69% 0.0277 -0.1994)
OKLCHoklch(35.69% 0.201 277.9)
XYZxyz(7.9000, 3.7012, 34.0094)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3014A1 #85A114
analogous
#143EA1 #3014A1 #7614A1
triadic
#3014A1 #A13014 #14A130
tetradic
#3014A1 #A1143E #85A114 #14A176
square
#3014A1 #A1143E #85A114 #14A176
split-complementary
#3014A1 #A17614 #3EA114
monochromatic
#100634 #200D6B #3014A1 #401BD7 #6747E8

Accessibility & contrast

On white

12.07
#3014A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#3014A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3014A1
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3014A1#FFFFFF#000000##FFFFFF
##3014A11.0012.071.7412.07
#FFFFFF12.071.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003BA5
Deuteranopia (green-blind)
#00309F
Tritanopia (blue-blind)
#00435F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #3014a1;
/* rgb */ color: rgb(48, 20, 161);
/* oklch */ color: oklch(35.7% 0.201 277.9);
Tailwind
colors: {
  custom: {
    50: '#7b5abe',
    500: '#3014a1',
    950: '#000000',
  },
}
SCSS
$custom: #3014a1;
$custom-light: #7b5abe;
$custom-dark: #000000;
JSON
{
  "hex": "#3014a1",
  "rgb": {
    "r": 48,
    "g": 20,
    "b": 161
  },
  "hsl": {
    "h": 251.915,
    "s": 77.901,
    "l": 35.49
  },
  "oklch": {
    "l": 0.35687,
    "c": 0.2013,
    "h": 277.9
  },
  "luminance": 0.03702
}

Semantic roles & 50–950 ramp

primary
#3014A1
secondary
#AFC948
accent
#F433CE
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #3014A1

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

Preview Lab → · Contrast checker → · Palette generator →

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