#301283#301283

#301283 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 32.0% C 0.169 H 283.6°. Best body text is #FFFFFF at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#301283
RGBrgb(48, 18, 131)
HSLhsl(256, 76%, 29%)
HSVhsv(256, 86%, 51%)
CMYKcmyk(63.4%, 86.3%, 0%, 48.6%)
CIE-LABlab(18.80, 43.77, -56.82)
CIE-LCHlch(18.80, 71.73, 307.60°)
OKLaboklab(32.01% 0.0396 -0.1638)
OKLCHoklch(32.01% 0.169 283.6)
XYZxyz(5.5307, 2.6993, 21.6979)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301283 #658312
analogous
#122D83 #301283 #691283
triadic
#301283 #833012 #128330
tetradic
#301283 #83122D #658312 #128369
square
#301283 #83122D #658312 #128369
split-complementary
#301283 #836912 #2D8312
monochromatic
#0A041B #1C0B4D #301283 #4419B9 #5D2DE2

Accessibility & contrast

On white

13.64
#301283 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#301283 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301283
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301283#FFFFFF#000000##FFFFFF
##3012831.0013.641.5413.64
#FFFFFF13.641.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003186
Deuteranopia (green-blind)
#002A81
Tritanopia (blue-blind)
#00364D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #301283;
/* rgb */ color: rgb(48, 18, 131);
/* oklch */ color: oklch(32.0% 0.169 283.6);
Tailwind
colors: {
  custom: {
    50: '#7556a8',
    500: '#301283',
    950: '#000000',
  },
}
SCSS
$custom: #301283;
$custom-light: #7556a8;
$custom-dark: #000000;
JSON
{
  "hex": "#301283",
  "rgb": {
    "r": 48,
    "g": 18,
    "b": 131
  },
  "hsl": {
    "h": 255.929,
    "s": 75.839,
    "l": 29.216
  },
  "oklch": {
    "l": 0.32006,
    "c": 0.16855,
    "h": 283.6
  },
  "luminance": 0.027
}

Semantic roles & 50–950 ramp

primary
#301283
secondary
#96B838
accent
#F235C0
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #301283

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

Preview Lab → · Contrast checker → · Palette generator →

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