#301083#301083

#301083 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.8% C 0.170 H 283.8°. Best body text is #FFFFFF at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#301083
RGBrgb(48, 16, 131)
HSLhsl(257, 78%, 29%)
HSVhsv(257, 88%, 51%)
CMYKcmyk(63.4%, 87.8%, 0%, 48.6%)
CIE-LABlab(18.53, 44.56, -57.27)
CIE-LCHlch(18.53, 72.56, 307.89°)
OKLaboklab(31.82% 0.0405 -0.1651)
OKLCHoklch(31.82% 0.17 283.8)
XYZxyz(5.4997, 2.6373, 21.6876)
Luminance0.0264 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301083 #638310
analogous
#102A83 #301083 #6A1083
triadic
#301083 #833010 #108330
tetradic
#301083 #83102A #638310 #10836A
square
#301083 #83102A #638310 #10836A
split-complementary
#301083 #836A10 #2A8310
monochromatic
#0A031B #1C094C #301083 #4417BA #5D29E5

Accessibility & contrast

On white

13.75
#301083 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#301083 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301083
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301083#FFFFFF#000000##FFFFFF
##3010831.0013.751.5313.75
#FFFFFF13.751.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003086
Deuteranopia (green-blind)
#002981
Tritanopia (blue-blind)
#00354C
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #301083;
/* rgb */ color: rgb(48, 16, 131);
/* oklch */ color: oklch(31.8% 0.170 283.8);
Tailwind
colors: {
  custom: {
    50: '#7555a8',
    500: '#301083',
    950: '#000000',
  },
}
SCSS
$custom: #301083;
$custom-light: #7555a8;
$custom-dark: #000000;
JSON
{
  "hex": "#301083",
  "rgb": {
    "r": 48,
    "g": 16,
    "b": 131
  },
  "hsl": {
    "h": 256.696,
    "s": 78.231,
    "l": 28.824
  },
  "oklch": {
    "l": 0.31822,
    "c": 0.17001,
    "h": 283.8
  },
  "luminance": 0.02638
}

Semantic roles & 50–950 ramp

primary
#301083
secondary
#94B936
accent
#F533BF
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #301083

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

Preview Lab → · Contrast checker → · Palette generator →

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