#301050#301050

#301050 is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.4% C 0.110 H 302.1°. Best body text is #FFFFFF at 15.96:1 contrast (WCAG AA passes).

Color values

HEX#301050
RGBrgb(48, 16, 80)
HSLhsl(270, 67%, 19%)
HSVhsv(270, 80%, 31%)
CMYKcmyk(40%, 80%, 0%, 68.6%)
CIE-LABlab(13.10, 29.95, -32.69)
CIE-LCHlch(13.10, 44.34, 312.50°)
OKLaboklab(26.42% 0.0584 -0.0932)
OKLCHoklch(26.42% 0.11 302.1)
XYZxyz(2.8518, 1.5781, 7.7422)
Luminance0.0158 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301050 #305010
analogous
#101050 #301050 #501050
triadic
#301050 #503010 #105030
tetradic
#301050 #501010 #305010 #105050
square
#301050 #501010 #305010 #105050
split-complementary
#301050 #505010 #105010
monochromatic
#0F051A #11061D #301050 #4F1A83 #6D24B6

Accessibility & contrast

On white

15.96
#301050 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#301050 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301050
15.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301050#FFFFFF#000000##FFFFFF
##3010501.0015.961.3215.96
#FFFFFF15.961.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002152
Deuteranopia (green-blind)
#00214F
Tritanopia (blue-blind)
#29202F
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #301050;
/* rgb */ color: rgb(48, 16, 80);
/* oklch */ color: oklch(26.4% 0.110 302.1);
Tailwind
colors: {
  custom: {
    50: '#6c5282',
    500: '#301050',
    950: '#000000',
  },
}
SCSS
$custom: #301050;
$custom-light: #6c5282;
$custom-dark: #000000;
JSON
{
  "hex": "#301050",
  "rgb": {
    "r": 48,
    "g": 16,
    "b": 80
  },
  "hsl": {
    "h": 270,
    "s": 66.667,
    "l": 18.824
  },
  "oklch": {
    "l": 0.26424,
    "c": 0.10997,
    "h": 302.1
  },
  "luminance": 0.01578
}

Semantic roles & 50–950 ramp

primary
#301050
secondary
#5E8A32
accent
#EA3E94
background
#F6F4F8
surface
#ECE7EF
border
#C7C3CA
text
#07020A
muted
#7A787C

Preview Lab

Preview with #301050

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

Preview Lab → · Contrast checker → · Palette generator →

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