#301264#301264

#301264 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.6% C 0.132 H 292.6°. Best body text is #FFFFFF at 15.04:1 contrast (WCAG AA passes).

Color values

HEX#301264
RGBrgb(48, 18, 100)
HSLhsl(262, 69%, 23%)
HSVhsv(262, 82%, 39%)
CMYKcmyk(52%, 82%, 0%, 60.8%)
CIE-LABlab(15.39, 34.70, -42.41)
CIE-LCHlch(15.39, 54.79, 309.29°)
OKLaboklab(28.63% 0.0507 -0.1217)
OKLCHoklch(28.63% 0.132 292.6)
XYZxyz(3.7348, 1.9810, 12.2397)
Luminance0.0198 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301264 #466412
analogous
#121D64 #301264 #591264
triadic
#301264 #643012 #126430
tetradic
#301264 #64121D #466412 #126459
square
#301264 #64121D #466412 #126459
split-complementary
#301264 #645912 #1D6412
monochromatic
#0C051A #170930 #301264 #491B98 #6225CC

Accessibility & contrast

On white

15.04
#301264 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #301264
15.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301264#FFFFFF#000000##FFFFFF
##3012641.0015.041.4015.04
#FFFFFF15.041.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #301264;
/* rgb */ color: rgb(48, 18, 100);
/* oklch */ color: oklch(28.6% 0.132 292.6);
Tailwind
colors: {
  custom: {
    50: '#6f5491',
    500: '#301264',
    950: '#000000',
  },
}
SCSS
$custom: #301264;
$custom-light: #6f5491;
$custom-dark: #000000;
JSON
{
  "hex": "#301264",
  "rgb": {
    "r": 48,
    "g": 18,
    "b": 100
  },
  "hsl": {
    "h": 261.951,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.2863,
    "c": 0.13189,
    "h": 292.6
  },
  "luminance": 0.01981
}

Semantic roles & 50–950 ramp

primary
#301264
secondary
#779C36
accent
#EC3BAC
background
#F7F4F9
surface
#EDE8F1
border
#C8C4CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #301264

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

Preview Lab → · Contrast checker → · Palette generator →

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