#301963#301963

#301963 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.5% C 0.122 H 291.3°. Best body text is #FFFFFF at 14.53:1 contrast (WCAG AA passes).

Color values

HEX#301963
RGBrgb(48, 25, 99)
HSLhsl(259, 60%, 24%)
HSVhsv(259, 75%, 39%)
CMYKcmyk(51.5%, 74.7%, 0%, 61.2%)
CIE-LABlab(16.62, 30.62, -39.72)
CIE-LCHlch(16.62, 50.16, 307.63°)
OKLaboklab(29.47% 0.0444 -0.1139)
OKLCHoklch(29.47% 0.122 291.3)
XYZxyz(3.8180, 2.2243, 12.0301)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301963 #4C6319
analogous
#192763 #301963 #551963
triadic
#301963 #633019 #196330
tetradic
#301963 #631927 #4C6319 #196355
square
#301963 #631927 #4C6319 #196355
split-complementary
#301963 #635519 #276319
monochromatic
#0C0618 #180D32 #301963 #482594 #5F32C5

Accessibility & contrast

On white

14.53
#301963 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#301963 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301963
14.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301963#FFFFFF#000000##FFFFFF
##3019631.0014.531.4414.53
#FFFFFF14.531.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A65
Deuteranopia (green-blind)
#002762
Tritanopia (blue-blind)
#1F2C3C
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #301963;
/* rgb */ color: rgb(48, 25, 99);
/* oklch */ color: oklch(29.5% 0.122 291.3);
Tailwind
colors: {
  custom: {
    50: '#6e5890',
    500: '#301963',
    950: '#000000',
  },
}
SCSS
$custom: #301963;
$custom-light: #6e5890;
$custom-dark: #000000;
JSON
{
  "hex": "#301963",
  "rgb": {
    "r": 48,
    "g": 25,
    "b": 99
  },
  "hsl": {
    "h": 258.649,
    "s": 59.677,
    "l": 24.314
  },
  "oklch": {
    "l": 0.29472,
    "c": 0.12224,
    "h": 291.3
  },
  "luminance": 0.02224
}

Semantic roles & 50–950 ramp

primary
#301963
secondary
#7D993F
accent
#E345B2
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#08030D
muted
#7B787D

Preview Lab

Preview with #301963

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

Preview Lab → · Contrast checker → · Palette generator →

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