#301664#301664

#301664 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.1% C 0.127 H 291.7°. Best body text is #FFFFFF at 14.74:1 contrast (WCAG AA passes).

Color values

HEX#301664
RGBrgb(48, 22, 100)
HSLhsl(260, 64%, 24%)
HSVhsv(260, 78%, 39%)
CMYKcmyk(52%, 78%, 0%, 60.8%)
CIE-LABlab(16.12, 32.62, -41.21)
CIE-LCHlch(16.12, 52.56, 308.36°)
OKLaboklab(29.14% 0.0471 -0.1183)
OKLCHoklch(29.14% 0.127 291.7)
XYZxyz(3.8054, 2.1222, 12.2632)
Luminance0.0212 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301664 #4A6416
analogous
#162364 #301664 #571664
triadic
#301664 #643016 #166430
tetradic
#301664 #641623 #4A6416 #166457
square
#301664 #641623 #4A6416 #166457
split-complementary
#301664 #645716 #236416
monochromatic
#0C0619 #180B32 #301664 #482196 #602CC8

Accessibility & contrast

On white

14.74
#301664 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#301664 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301664
14.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301664#FFFFFF#000000##FFFFFF
##3016641.0014.741.4214.74
#FFFFFF14.741.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002966
Deuteranopia (green-blind)
#002663
Tritanopia (blue-blind)
#1F2B3B
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #301664;
/* rgb */ color: rgb(48, 22, 100);
/* oklch */ color: oklch(29.1% 0.127 291.7);
Tailwind
colors: {
  custom: {
    50: '#6f5691',
    500: '#301664',
    950: '#000000',
  },
}
SCSS
$custom: #301664;
$custom-light: #6f5691;
$custom-dark: #000000;
JSON
{
  "hex": "#301664",
  "rgb": {
    "r": 48,
    "g": 22,
    "b": 100
  },
  "hsl": {
    "h": 260,
    "s": 63.934,
    "l": 23.922
  },
  "oklch": {
    "l": 0.29142,
    "c": 0.12731,
    "h": 291.7
  },
  "luminance": 0.02122
}

Semantic roles & 50–950 ramp

primary
#301664
secondary
#7B9B3B
accent
#E741B0
background
#F6F5F9
surface
#ECE9F1
border
#C7C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #301664

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

Preview Lab → · Contrast checker → · Palette generator →

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