#301364#301364

#301364 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.8% C 0.131 H 292.4°. Best body text is #FFFFFF at 14.97:1 contrast (WCAG AA passes).

Color values

HEX#301364
RGBrgb(48, 19, 100)
HSLhsl(261, 68%, 23%)
HSVhsv(261, 81%, 39%)
CMYKcmyk(52%, 81%, 0%, 60.8%)
CIE-LABlab(15.56, 34.20, -42.12)
CIE-LCHlch(15.56, 54.26, 309.07°)
OKLaboklab(28.75% 0.0499 -0.1209)
OKLCHoklch(28.75% 0.131 292.4)
XYZxyz(3.7514, 2.0141, 12.2452)
Luminance0.0201 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301364 #476413
analogous
#131F64 #301364 #581364
triadic
#301364 #643013 #136430
tetradic
#301364 #64131F #476413 #136458
square
#301364 #64131F #476413 #136458
split-complementary
#301364 #645813 #1F6413
monochromatic
#0C051A #170931 #301364 #491D97 #6127CB

Accessibility & contrast

On white

14.97
#301364 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#301364 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301364
14.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301364#FFFFFF#000000##FFFFFF
##3013641.0014.971.4014.97
#FFFFFF14.971.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002866
Deuteranopia (green-blind)
#002562
Tritanopia (blue-blind)
#1F293B
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #301364;
/* rgb */ color: rgb(48, 19, 100);
/* oklch */ color: oklch(28.8% 0.131 292.4);
Tailwind
colors: {
  custom: {
    50: '#6f5491',
    500: '#301364',
    950: '#000000',
  },
}
SCSS
$custom: #301364;
$custom-light: #6f5491;
$custom-dark: #000000;
JSON
{
  "hex": "#301364",
  "rgb": {
    "r": 48,
    "g": 19,
    "b": 100
  },
  "hsl": {
    "h": 261.481,
    "s": 68.067,
    "l": 23.333
  },
  "oklch": {
    "l": 0.28752,
    "c": 0.13079,
    "h": 292.4
  },
  "luminance": 0.02014
}

Semantic roles & 50–950 ramp

primary
#301364
secondary
#789C37
accent
#EB3DAD
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #301364

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

Preview Lab → · Contrast checker → · Palette generator →

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