#301983#301983

#301983 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.8% C 0.163 H 282.7°. Best body text is #FFFFFF at 13.19:1 contrast (WCAG AA passes).

Color values

HEX#301983
RGBrgb(48, 25, 131)
HSLhsl(253, 68%, 31%)
HSVhsv(253, 81%, 51%)
CMYKcmyk(63.4%, 80.9%, 0%, 48.6%)
CIE-LABlab(19.89, 40.57, -55.02)
CIE-LCHlch(19.89, 68.36, 306.41°)
OKLaboklab(32.76% 0.0356 -0.1587)
OKLCHoklch(32.76% 0.163 282.7)
XYZxyz(5.6620, 2.9619, 21.7417)
Luminance0.0296 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301983 #6C8319
analogous
#193783 #301983 #651983
triadic
#301983 #833019 #198330
tetradic
#301983 #831937 #6C8319 #198365
square
#301983 #831937 #6C8319 #198365
split-complementary
#301983 #836519 #378319
monochromatic
#0A051C #1D0F50 #301983 #4323B6 #5F3DDA

Accessibility & contrast

On white

13.19
#301983 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#301983 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301983
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301983#FFFFFF#000000##FFFFFF
##3019831.0013.191.5913.19
#FFFFFF13.191.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003386
Deuteranopia (green-blind)
#002C81
Tritanopia (blue-blind)
#00394E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #301983;
/* rgb */ color: rgb(48, 25, 131);
/* oklch */ color: oklch(32.8% 0.163 282.7);
Tailwind
colors: {
  custom: {
    50: '#745aa8',
    500: '#301983',
    950: '#000000',
  },
}
SCSS
$custom: #301983;
$custom-light: #745aa8;
$custom-dark: #000000;
JSON
{
  "hex": "#301983",
  "rgb": {
    "r": 48,
    "g": 25,
    "b": 131
  },
  "hsl": {
    "h": 253.019,
    "s": 67.949,
    "l": 30.588
  },
  "oklch": {
    "l": 0.32762,
    "c": 0.16262,
    "h": 282.7
  },
  "luminance": 0.02962
}

Semantic roles & 50–950 ramp

primary
#301983
secondary
#9DB741
accent
#EB3DC5
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #301983

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

Preview Lab → · Contrast checker → · Palette generator →

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