#3013A0#3013A0

#3013A0 is a dark, highly saturated violet. Relative luminance 0.036; OKLCH L 35.5% C 0.201 H 278.1°. Best body text is #FFFFFF at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#3013A0
RGBrgb(48, 19, 160)
HSLhsl(252, 79%, 35%)
HSVhsv(252, 88%, 63%)
CMYKcmyk(70%, 88.1%, 0%, 37.3%)
CIE-LABlab(22.41, 51.66, -68.84)
CIE-LCHlch(22.41, 86.07, 306.88°)
OKLaboklab(35.49% 0.0284 -0.1988)
OKLCHoklch(35.49% 0.201 278.1)
XYZxyz(7.7949, 3.6315, 33.5411)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3013A0 #83A013
analogous
#133DA0 #3013A0 #7613A0
triadic
#3013A0 #A03013 #13A030
tetradic
#3013A0 #A0133D #83A013 #13A076
square
#3013A0 #A0133D #83A013 #13A076
split-complementary
#3013A0 #A07613 #3DA013
monochromatic
#0F0633 #200D69 #3013A0 #4019D7 #6645E9

Accessibility & contrast

On white

12.16
#3013A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3013A0
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3013A0#FFFFFF#000000##FFFFFF
##3013A01.0012.161.7312.16
#FFFFFF12.161.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3013a0;
/* rgb */ color: rgb(48, 19, 160);
/* oklch */ color: oklch(35.5% 0.201 278.1);
Tailwind
colors: {
  custom: {
    50: '#7b59be',
    500: '#3013a0',
    950: '#000000',
  },
}
SCSS
$custom: #3013a0;
$custom-light: #7b59be;
$custom-dark: #000000;
JSON
{
  "hex": "#3013a0",
  "rgb": {
    "r": 48,
    "g": 19,
    "b": 160
  },
  "hsl": {
    "h": 252.34,
    "s": 78.771,
    "l": 35.098
  },
  "oklch": {
    "l": 0.35486,
    "c": 0.20078,
    "h": 278.1
  },
  "luminance": 0.03632
}

Semantic roles & 50–950 ramp

primary
#3013A0
secondary
#AEC945
accent
#F533CD
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #3013A0

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

Preview Lab → · Contrast checker → · Palette generator →

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