#301363#301363

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

Color values

HEX#301363
RGBrgb(48, 19, 99)
HSLhsl(262, 68%, 23%)
HSVhsv(262, 81%, 39%)
CMYKcmyk(51.5%, 80.8%, 0%, 61.2%)
CIE-LABlab(15.46, 33.90, -41.63)
CIE-LCHlch(15.46, 53.69, 309.16°)
OKLaboklab(28.65% 0.0502 -0.1195)
OKLCHoklch(28.65% 0.13 292.8)
XYZxyz(3.7033, 1.9948, 11.9919)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301363 #466313
analogous
#131E63 #301363 #581363
triadic
#301363 #633013 #136330
tetradic
#301363 #63131E #466313 #136358
square
#301363 #63131E #466313 #136358
split-complementary
#301363 #635813 #1E6313
monochromatic
#0C051A #170930 #301363 #491D96 #6227CA

Accessibility & contrast

On white

15.01
#301363 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #301363
15.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301363#FFFFFF#000000##FFFFFF
##3013631.0015.011.4015.01
#FFFFFF15.011.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002865
Deuteranopia (green-blind)
#002561
Tritanopia (blue-blind)
#20293A
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #301363;
/* rgb */ color: rgb(48, 19, 99);
/* oklch */ color: oklch(28.6% 0.130 292.8);
Tailwind
colors: {
  custom: {
    50: '#6f5490',
    500: '#301363',
    950: '#000000',
  },
}
SCSS
$custom: #301363;
$custom-light: #6f5490;
$custom-dark: #000000;
JSON
{
  "hex": "#301363",
  "rgb": {
    "r": 48,
    "g": 19,
    "b": 99
  },
  "hsl": {
    "h": 261.75,
    "s": 67.797,
    "l": 23.137
  },
  "oklch": {
    "l": 0.2865,
    "c": 0.12957,
    "h": 292.8
  },
  "luminance": 0.01995
}

Semantic roles & 50–950 ramp

primary
#301363
secondary
#779B37
accent
#EB3DAC
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030D
muted
#7B787D

Preview Lab

Preview with #301363

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

Preview Lab → · Contrast checker → · Palette generator →

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