#301355#301355

#301355 is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.3% C 0.112 H 298.7°. Best body text is #FFFFFF at 15.56:1 contrast (WCAG AA passes).

Color values

HEX#301355
RGBrgb(48, 19, 85)
HSLhsl(266, 63%, 20%)
HSVhsv(266, 78%, 33%)
CMYKcmyk(43.5%, 77.6%, 0%, 66.7%)
CIE-LABlab(14.12, 29.79, -34.44)
CIE-LCHlch(14.12, 45.53, 310.86°)
OKLaboklab(27.29% 0.0539 -0.0984)
OKLCHoklch(27.29% 0.112 298.7)
XYZxyz(3.0911, 1.7500, 8.7675)
Luminance0.0175 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301355 #385513
analogous
#131755 #301355 #511355
triadic
#301355 #553013 #135530
tetradic
#301355 #551317 #385513 #135551
square
#301355 #551317 #385513 #135551
split-complementary
#301355 #555113 #175513
monochromatic
#0E0619 #140823 #301355 #4C1E87 #6829B9

Accessibility & contrast

On white

15.56
#301355 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#301355 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301355
15.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301355#FFFFFF#000000##FFFFFF
##3013551.0015.561.3515.56
#FFFFFF15.561.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002457
Deuteranopia (green-blind)
#002354
Tritanopia (blue-blind)
#272332
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #301355;
/* rgb */ color: rgb(48, 19, 85);
/* oklch */ color: oklch(27.3% 0.112 298.7);
Tailwind
colors: {
  custom: {
    50: '#6c5385',
    500: '#301355',
    950: '#000000',
  },
}
SCSS
$custom: #301355;
$custom-light: #6c5385;
$custom-dark: #000000;
JSON
{
  "hex": "#301355",
  "rgb": {
    "r": 48,
    "g": 19,
    "b": 85
  },
  "hsl": {
    "h": 266.364,
    "s": 63.462,
    "l": 20.392
  },
  "oklch": {
    "l": 0.27288,
    "c": 0.11216,
    "h": 298.7
  },
  "luminance": 0.0175
}

Semantic roles & 50–950 ramp

primary
#301355
secondary
#678D36
accent
#E6419E
background
#F6F4F8
surface
#ECE7EF
border
#C7C3CA
text
#07030B
muted
#7A787C

Preview Lab

Preview with #301355

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

Preview Lab → · Contrast checker → · Palette generator →

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