#301350#301350

#301350 is a dark, moderate violet. Relative luminance 0.017; OKLCH L 26.8% C 0.106 H 301.3°. Best body text is #FFFFFF at 15.74:1 contrast (WCAG AA passes).

Color values

HEX#301350
RGBrgb(48, 19, 80)
HSLhsl(269, 62%, 19%)
HSVhsv(269, 76%, 31%)
CMYKcmyk(40%, 76.3%, 0%, 68.6%)
CIE-LABlab(13.67, 28.34, -31.76)
CIE-LCHlch(13.67, 42.57, 311.74°)
OKLaboklab(26.83% 0.0549 -0.0905)
OKLCHoklch(26.83% 0.106 301.3)
XYZxyz(2.8994, 1.6733, 7.7581)
Luminance0.0167 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301350 #335013
analogous
#131450 #301350 #4F1350
triadic
#301350 #503013 #135030
tetradic
#301350 #501314 #335013 #13504F
square
#301350 #501314 #335013 #13504F
split-complementary
#301350 #504F13 #145013
monochromatic
#0F0619 #12071F #301350 #4E1F81 #6B2AB3

Accessibility & contrast

On white

15.74
#301350 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#301350 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301350
15.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301350#FFFFFF#000000##FFFFFF
##3013501.0015.741.3315.74
#FFFFFF15.741.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002352
Deuteranopia (green-blind)
#00234F
Tritanopia (blue-blind)
#292130
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #301350;
/* rgb */ color: rgb(48, 19, 80);
/* oklch */ color: oklch(26.8% 0.106 301.3);
Tailwind
colors: {
  custom: {
    50: '#6c5382',
    500: '#301350',
    950: '#000000',
  },
}
SCSS
$custom: #301350;
$custom-light: #6c5382;
$custom-dark: #000000;
JSON
{
  "hex": "#301350",
  "rgb": {
    "r": 48,
    "g": 19,
    "b": 80
  },
  "hsl": {
    "h": 268.525,
    "s": 61.616,
    "l": 19.412
  },
  "oklch": {
    "l": 0.26831,
    "c": 0.10584,
    "h": 301.3
  },
  "luminance": 0.01673
}

Semantic roles & 50–950 ramp

primary
#301350
secondary
#618936
accent
#E54398
background
#F6F4F8
surface
#ECE7EF
border
#C7C3CA
text
#07020A
muted
#7A787C

Preview Lab

Preview with #301350

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

Preview Lab → · Contrast checker → · Palette generator →

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