#3013A1#3013A1

#3013A1 is a dark, highly saturated violet. Relative luminance 0.037; OKLCH L 35.6% C 0.202 H 278.0°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#3013A1
RGBrgb(48, 19, 161)
HSLhsl(252, 79%, 35%)
HSVhsv(252, 88%, 63%)
CMYKcmyk(70.2%, 88.2%, 0%, 36.9%)
CIE-LABlab(22.54, 51.94, -69.25)
CIE-LCHlch(22.54, 86.56, 306.87°)
OKLaboklab(35.6% 0.028 -0.1999)
OKLCHoklch(35.6% 0.202 278)
XYZxyz(7.8827, 3.6666, 34.0036)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3013A1 #84A113
analogous
#133DA1 #3013A1 #7713A1
triadic
#3013A1 #A13013 #13A130
tetradic
#3013A1 #A1133D #84A113 #13A177
square
#3013A1 #A1133D #84A113 #13A177
split-complementary
#3013A1 #A17713 #3DA113
monochromatic
#0F0634 #200D6A #3013A1 #4019D8 #6745E9

Accessibility & contrast

On white

12.11
#3013A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#3013A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3013A1
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3013A1#FFFFFF#000000##FFFFFF
##3013A11.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3013a1;
/* rgb */ color: rgb(48, 19, 161);
/* oklch */ color: oklch(35.6% 0.202 278.0);
Tailwind
colors: {
  custom: {
    50: '#7b59be',
    500: '#3013a1',
    950: '#000000',
  },
}
SCSS
$custom: #3013a1;
$custom-light: #7b59be;
$custom-dark: #000000;
JSON
{
  "hex": "#3013a1",
  "rgb": {
    "r": 48,
    "g": 19,
    "b": 161
  },
  "hsl": {
    "h": 252.254,
    "s": 78.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.35605,
    "c": 0.2019,
    "h": 278
  },
  "luminance": 0.03667
}

Semantic roles & 50–950 ramp

primary
#3013A1
secondary
#AFCA46
accent
#F532CE
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #3013A1

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

Preview Lab → · Contrast checker → · Palette generator →

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