#301064#301064

#301064 is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.4% C 0.134 H 293.0°. Best body text is #FFFFFF at 15.18:1 contrast (WCAG AA passes).

Color values

HEX#301064
RGBrgb(48, 16, 100)
HSLhsl(263, 72%, 23%)
HSVhsv(263, 84%, 39%)
CMYKcmyk(52%, 84%, 0%, 60.8%)
CIE-LABlab(15.06, 35.65, -42.95)
CIE-LCHlch(15.06, 55.82, 309.70°)
OKLaboklab(28.4% 0.0524 -0.1233)
OKLCHoklch(28.4% 0.134 293)
XYZxyz(3.7038, 1.9189, 12.2294)
Luminance0.0192 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301064 #446410
analogous
#101A64 #301064 #5A1064
triadic
#301064 #643010 #106430
tetradic
#301064 #64101A #446410 #10645A
square
#301064 #64101A #446410 #10645A
split-complementary
#301064 #645A10 #1A6410
monochromatic
#0D041A #17082F #301064 #491899 #6321CE

Accessibility & contrast

On white

15.18
#301064 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#301064 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301064
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301064#FFFFFF#000000##FFFFFF
##3010641.0015.181.3815.18
#FFFFFF15.181.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002766
Deuteranopia (green-blind)
#002462
Tritanopia (blue-blind)
#1F283A
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #301064;
/* rgb */ color: rgb(48, 16, 100);
/* oklch */ color: oklch(28.4% 0.134 293.0);
Tailwind
colors: {
  custom: {
    50: '#6f5391',
    500: '#301064',
    950: '#000000',
  },
}
SCSS
$custom: #301064;
$custom-light: #6f5391;
$custom-dark: #000000;
JSON
{
  "hex": "#301064",
  "rgb": {
    "r": 48,
    "g": 16,
    "b": 100
  },
  "hsl": {
    "h": 262.857,
    "s": 72.414,
    "l": 22.745
  },
  "oklch": {
    "l": 0.28399,
    "c": 0.13398,
    "h": 293
  },
  "luminance": 0.01919
}

Semantic roles & 50–950 ramp

primary
#301064
secondary
#749D33
accent
#EF39AA
background
#F7F4F9
surface
#EDE7F1
border
#C8C3CB
text
#08020D
muted
#7B787E

Preview Lab

Preview with #301064

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

Preview Lab → · Contrast checker → · Palette generator →

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