#301563#301563

#301563 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 28.9% C 0.127 H 292.3°. Best body text is #FFFFFF at 14.86:1 contrast (WCAG AA passes).

Color values

HEX#301563
RGBrgb(48, 21, 99)
HSLhsl(261, 65%, 24%)
HSVhsv(261, 79%, 39%)
CMYKcmyk(51.5%, 78.8%, 0%, 61.2%)
CIE-LABlab(15.83, 32.86, -41.03)
CIE-LCHlch(15.83, 52.56, 308.69°)
OKLaboklab(28.91% 0.0483 -0.1177)
OKLCHoklch(28.91% 0.127 292.3)
XYZxyz(3.7386, 2.0654, 12.0036)
Luminance0.0207 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301563 #486315
analogous
#152163 #301563 #571563
triadic
#301563 #633015 #156330
tetradic
#301563 #631521 #486315 #156357
square
#301563 #631521 #486315 #156357
split-complementary
#301563 #635715 #216315
monochromatic
#0C0519 #180A31 #301563 #482095 #612AC8

Accessibility & contrast

On white

14.86
#301563 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#301563 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301563
14.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301563#FFFFFF#000000##FFFFFF
##3015631.0014.861.4114.86
#FFFFFF14.861.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002865
Deuteranopia (green-blind)
#002662
Tritanopia (blue-blind)
#202A3B
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #301563;
/* rgb */ color: rgb(48, 21, 99);
/* oklch */ color: oklch(28.9% 0.127 292.3);
Tailwind
colors: {
  custom: {
    50: '#6e5590',
    500: '#301563',
    950: '#000000',
  },
}
SCSS
$custom: #301563;
$custom-light: #6e5590;
$custom-dark: #000000;
JSON
{
  "hex": "#301563",
  "rgb": {
    "r": 48,
    "g": 21,
    "b": 99
  },
  "hsl": {
    "h": 260.769,
    "s": 65,
    "l": 23.529
  },
  "oklch": {
    "l": 0.28908,
    "c": 0.12725,
    "h": 292.3
  },
  "luminance": 0.02066
}

Semantic roles & 50–950 ramp

primary
#301563
secondary
#799A3A
accent
#E840AE
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#08030D
muted
#7B787D

Preview Lab

Preview with #301563

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

Preview Lab → · Contrast checker → · Palette generator →

#301563 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva