#301763#301763

#301763 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.2% C 0.125 H 291.8°. Best body text is #FFFFFF at 14.70:1 contrast (WCAG AA passes).

Color values

HEX#301763
RGBrgb(48, 23, 99)
HSLhsl(260, 62%, 24%)
HSVhsv(260, 77%, 39%)
CMYKcmyk(51.5%, 76.8%, 0%, 61.2%)
CIE-LABlab(16.21, 31.76, -40.39)
CIE-LCHlch(16.21, 51.38, 308.18°)
OKLaboklab(29.18% 0.0464 -0.1159)
OKLCHoklch(29.18% 0.125 291.8)
XYZxyz(3.7768, 2.1419, 12.0164)
Luminance0.0214 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301763 #4A6317
analogous
#172463 #301763 #561763
triadic
#301763 #633017 #176330
tetradic
#301763 #631724 #4A6317 #176356
square
#301763 #631724 #4A6317 #176356
split-complementary
#301763 #635617 #246317
monochromatic
#0C0619 #180B31 #301763 #482395 #602EC6

Accessibility & contrast

On white

14.70
#301763 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#301763 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301763
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301763#FFFFFF#000000##FFFFFF
##3017631.0014.701.4314.70
#FFFFFF14.701.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #301763;
/* rgb */ color: rgb(48, 23, 99);
/* oklch */ color: oklch(29.2% 0.125 291.8);
Tailwind
colors: {
  custom: {
    50: '#6e5790',
    500: '#301763',
    950: '#000000',
  },
}
SCSS
$custom: #301763;
$custom-light: #6e5790;
$custom-dark: #000000;
JSON
{
  "hex": "#301763",
  "rgb": {
    "r": 48,
    "g": 23,
    "b": 99
  },
  "hsl": {
    "h": 259.737,
    "s": 62.295,
    "l": 23.922
  },
  "oklch": {
    "l": 0.29182,
    "c": 0.1248,
    "h": 291.8
  },
  "luminance": 0.02142
}

Semantic roles & 50–950 ramp

primary
#301763
secondary
#7B9A3C
accent
#E542B0
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#08030D
muted
#7B787D

Preview Lab

Preview with #301763

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

Preview Lab → · Contrast checker → · Palette generator →

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