#301164#301164

#301164 is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.5% C 0.133 H 292.8°. Best body text is #FFFFFF at 15.11:1 contrast (WCAG AA passes).

Color values

HEX#301164
RGBrgb(48, 17, 100)
HSLhsl(262, 71%, 23%)
HSVhsv(262, 83%, 39%)
CMYKcmyk(52%, 83%, 0%, 60.8%)
CIE-LABlab(15.22, 35.18, -42.68)
CIE-LCHlch(15.22, 55.32, 309.50°)
OKLaboklab(28.51% 0.0516 -0.1225)
OKLCHoklch(28.51% 0.133 292.8)
XYZxyz(3.7190, 1.9492, 12.2344)
Luminance0.0195 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301164 #456411
analogous
#111B64 #301164 #591164
triadic
#301164 #643011 #116430
tetradic
#301164 #64111B #456411 #116459
square
#301164 #64111B #456411 #116459
split-complementary
#301164 #645911 #1B6411
monochromatic
#0D041A #170830 #301164 #491A98 #6223CD

Accessibility & contrast

On white

15.11
#301164 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#301164 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301164
15.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301164#FFFFFF#000000##FFFFFF
##3011641.0015.111.3915.11
#FFFFFF15.111.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #301164;
/* rgb */ color: rgb(48, 17, 100);
/* oklch */ color: oklch(28.5% 0.133 292.8);
Tailwind
colors: {
  custom: {
    50: '#6f5391',
    500: '#301164',
    950: '#000000',
  },
}
SCSS
$custom: #301164;
$custom-light: #6f5391;
$custom-dark: #000000;
JSON
{
  "hex": "#301164",
  "rgb": {
    "r": 48,
    "g": 17,
    "b": 100
  },
  "hsl": {
    "h": 262.41,
    "s": 70.94,
    "l": 22.941
  },
  "oklch": {
    "l": 0.28513,
    "c": 0.13295,
    "h": 292.8
  },
  "luminance": 0.01949
}

Semantic roles & 50–950 ramp

primary
#301164
secondary
#769C35
accent
#EE3AAB
background
#F7F4F9
surface
#EDE7F1
border
#C8C3CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #301164

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

Preview Lab → · Contrast checker → · Palette generator →

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