#301663#301663

#301663 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.0% C 0.126 H 292.1°. Best body text is #FFFFFF at 14.78:1 contrast (WCAG AA passes).

Color values

HEX#301663
RGBrgb(48, 22, 99)
HSLhsl(260, 64%, 24%)
HSVhsv(260, 78%, 39%)
CMYKcmyk(51.5%, 77.8%, 0%, 61.2%)
CIE-LABlab(16.02, 32.32, -40.71)
CIE-LCHlch(16.02, 51.98, 308.44°)
OKLaboklab(29.04% 0.0474 -0.1168)
OKLCHoklch(29.04% 0.126 292.1)
XYZxyz(3.7573, 2.1029, 12.0099)
Luminance0.0210 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301663 #496316
analogous
#162263 #301663 #561663
triadic
#301663 #633016 #166330
tetradic
#301663 #631622 #496316 #166356
square
#301663 #631622 #496316 #166356
split-complementary
#301663 #635616 #226316
monochromatic
#0C0619 #180B31 #301663 #482195 #612CC7

Accessibility & contrast

On white

14.78
#301663 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #301663
14.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301663#FFFFFF#000000##FFFFFF
##3016631.0014.781.4214.78
#FFFFFF14.781.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002965
Deuteranopia (green-blind)
#002662
Tritanopia (blue-blind)
#202A3B
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #301663;
/* rgb */ color: rgb(48, 22, 99);
/* oklch */ color: oklch(29.0% 0.126 292.1);
Tailwind
colors: {
  custom: {
    50: '#6e5690',
    500: '#301663',
    950: '#000000',
  },
}
SCSS
$custom: #301663;
$custom-light: #6e5690;
$custom-dark: #000000;
JSON
{
  "hex": "#301663",
  "rgb": {
    "r": 48,
    "g": 22,
    "b": 99
  },
  "hsl": {
    "h": 260.26,
    "s": 63.636,
    "l": 23.725
  },
  "oklch": {
    "l": 0.29043,
    "c": 0.12604,
    "h": 292.1
  },
  "luminance": 0.02103
}

Semantic roles & 50–950 ramp

primary
#301663
secondary
#7A9A3B
accent
#E741AF
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#08030D
muted
#7B787D

Preview Lab

Preview with #301663

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

Preview Lab → · Contrast checker → · Palette generator →

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