#301A83#301A83

#301A83 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.9% C 0.162 H 282.5°. Best body text is #FFFFFF at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#301A83
RGBrgb(48, 26, 131)
HSLhsl(253, 67%, 31%)
HSVhsv(253, 80%, 51%)
CMYKcmyk(63.4%, 80.2%, 0%, 48.6%)
CIE-LABlab(20.07, 40.07, -54.73)
CIE-LCHlch(20.07, 67.83, 306.21°)
OKLaboklab(32.88% 0.035 -0.1578)
OKLCHoklch(32.88% 0.162 282.5)
XYZxyz(5.6838, 3.0055, 21.7489)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301A83 #6D831A
analogous
#1A3983 #301A83 #641A83
triadic
#301A83 #83301A #1A8330
tetradic
#301A83 #831A39 #6D831A #1A8364
square
#301A83 #831A39 #6D831A #1A8364
split-complementary
#301A83 #83641A #39831A
monochromatic
#0B061D #1D1050 #301A83 #4324B6 #5F3FD9

Accessibility & contrast

On white

13.12
#301A83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#301A83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301A83
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301A83#FFFFFF#000000##FFFFFF
##301A831.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #301a83;
/* rgb */ color: rgb(48, 26, 131);
/* oklch */ color: oklch(32.9% 0.162 282.5);
Tailwind
colors: {
  custom: {
    50: '#745aa8',
    500: '#301a83',
    950: '#000000',
  },
}
SCSS
$custom: #301a83;
$custom-light: #745aa8;
$custom-dark: #000000;
JSON
{
  "hex": "#301a83",
  "rgb": {
    "r": 48,
    "g": 26,
    "b": 131
  },
  "hsl": {
    "h": 252.571,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.32884,
    "c": 0.16167,
    "h": 282.5
  },
  "luminance": 0.03006
}

Semantic roles & 50–950 ramp

primary
#301A83
secondary
#9EB742
accent
#EA3EC6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #301A83

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

Preview Lab → · Contrast checker → · Palette generator →

#301A83 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva