#301567#301567

#301567 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.3% C 0.132 H 290.9°. Best body text is #FFFFFF at 14.70:1 contrast (WCAG AA passes).

Color values

HEX#301567
RGBrgb(48, 21, 103)
HSLhsl(260, 66%, 24%)
HSVhsv(260, 80%, 40%)
CMYKcmyk(53.4%, 79.6%, 0%, 59.6%)
CIE-LABlab(16.22, 34.07, -43.01)
CIE-LCHlch(16.22, 54.87, 308.38°)
OKLaboklab(29.31% 0.0472 -0.1235)
OKLCHoklch(29.31% 0.132 290.9)
XYZxyz(3.9346, 2.1438, 13.0358)
Luminance0.0214 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301567 #4C6715
analogous
#152367 #301567 #591567
triadic
#301567 #673015 #156730
tetradic
#301567 #671523 #4C6715 #156759
square
#301567 #671523 #4C6715 #156759
split-complementary
#301567 #675915 #236715
monochromatic
#0C0519 #180B34 #301567 #481F9A #5F2ACD

Accessibility & contrast

On white

14.70
#301567 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #301567
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301567#FFFFFF#000000##FFFFFF
##3015671.0014.701.4314.70
#FFFFFF14.701.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A69
Deuteranopia (green-blind)
#002665
Tritanopia (blue-blind)
#1D2C3D
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #301567;
/* rgb */ color: rgb(48, 21, 103);
/* oklch */ color: oklch(29.3% 0.132 290.9);
Tailwind
colors: {
  custom: {
    50: '#6f5693',
    500: '#301567',
    950: '#000000',
  },
}
SCSS
$custom: #301567;
$custom-light: #6f5693;
$custom-dark: #000000;
JSON
{
  "hex": "#301567",
  "rgb": {
    "r": 48,
    "g": 21,
    "b": 103
  },
  "hsl": {
    "h": 259.756,
    "s": 66.129,
    "l": 24.314
  },
  "oklch": {
    "l": 0.29309,
    "c": 0.13225,
    "h": 290.9
  },
  "luminance": 0.02144
}

Semantic roles & 50–950 ramp

primary
#301567
secondary
#7D9E3A
accent
#E93FB1
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #301567

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

Preview Lab → · Contrast checker → · Palette generator →

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