#301568#301568

#301568 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.4% C 0.133 H 290.6°. Best body text is #FFFFFF at 14.66:1 contrast (WCAG AA passes).

Color values

HEX#301568
RGBrgb(48, 21, 104)
HSLhsl(260, 66%, 25%)
HSVhsv(260, 80%, 41%)
CMYKcmyk(53.8%, 79.8%, 0%, 59.2%)
CIE-LABlab(16.33, 34.37, -43.50)
CIE-LCHlch(16.33, 55.44, 308.31°)
OKLaboklab(29.41% 0.0469 -0.125)
OKLCHoklch(29.41% 0.133 290.6)
XYZxyz(3.9851, 2.1640, 13.3017)
Luminance0.0216 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301568 #4D6815
analogous
#152468 #301568 #5A1568
triadic
#301568 #683015 #156830
tetradic
#301568 #681524 #4D6815 #15685A
square
#301568 #681524 #4D6815 #15685A
split-complementary
#301568 #685A15 #246815
monochromatic
#0C0519 #180B35 #301568 #481F9B #5F2ACE

Accessibility & contrast

On white

14.66
#301568 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#301568 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301568
14.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301568#FFFFFF#000000##FFFFFF
##3015681.0014.661.4314.66
#FFFFFF14.661.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6A
Deuteranopia (green-blind)
#002766
Tritanopia (blue-blind)
#1C2C3D
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #301568;
/* rgb */ color: rgb(48, 21, 104);
/* oklch */ color: oklch(29.4% 0.133 290.6);
Tailwind
colors: {
  custom: {
    50: '#6f5694',
    500: '#301568',
    950: '#000000',
  },
}
SCSS
$custom: #301568;
$custom-light: #6f5694;
$custom-dark: #000000;
JSON
{
  "hex": "#301568",
  "rgb": {
    "r": 48,
    "g": 21,
    "b": 104
  },
  "hsl": {
    "h": 259.518,
    "s": 66.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.29411,
    "c": 0.13349,
    "h": 290.6
  },
  "luminance": 0.02164
}

Semantic roles & 50–950 ramp

primary
#301568
secondary
#7E9F3A
accent
#E93EB2
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #301568

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

Preview Lab → · Contrast checker → · Palette generator →

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