#301883#301883

#301883 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.6% C 0.164 H 282.8°. Best body text is #FFFFFF at 13.26:1 contrast (WCAG AA passes).

Color values

HEX#301883
RGBrgb(48, 24, 131)
HSLhsl(253, 69%, 30%)
HSVhsv(253, 82%, 51%)
CMYKcmyk(63.4%, 81.7%, 0%, 48.6%)
CIE-LABlab(19.72, 41.07, -55.30)
CIE-LCHlch(19.72, 68.88, 306.60°)
OKLaboklab(32.64% 0.0362 -0.1595)
OKLCHoklch(32.64% 0.164 282.8)
XYZxyz(5.6410, 2.9199, 21.7347)
Luminance0.0292 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301883 #6B8318
analogous
#183583 #301883 #651883
triadic
#301883 #833018 #188330
tetradic
#301883 #831835 #6B8318 #188365
square
#301883 #831835 #6B8318 #188365
split-complementary
#301883 #836518 #358318
monochromatic
#0A051C #1D0F4F #301883 #4321B7 #5E3ADB

Accessibility & contrast

On white

13.26
#301883 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#301883 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301883
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301883#FFFFFF#000000##FFFFFF
##3018831.0013.261.5813.26
#FFFFFF13.261.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #301883;
/* rgb */ color: rgb(48, 24, 131);
/* oklch */ color: oklch(32.6% 0.164 282.8);
Tailwind
colors: {
  custom: {
    50: '#7459a8',
    500: '#301883',
    950: '#000000',
  },
}
SCSS
$custom: #301883;
$custom-light: #7459a8;
$custom-dark: #000000;
JSON
{
  "hex": "#301883",
  "rgb": {
    "r": 48,
    "g": 24,
    "b": 131
  },
  "hsl": {
    "h": 253.458,
    "s": 69.032,
    "l": 30.392
  },
  "oklch": {
    "l": 0.32643,
    "c": 0.16355,
    "h": 282.8
  },
  "luminance": 0.0292
}

Semantic roles & 50–950 ramp

primary
#301883
secondary
#9CB740
accent
#EC3CC4
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #301883

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

Preview Lab → · Contrast checker → · Palette generator →

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