#301553#301553

#301553 is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.4% C 0.107 H 299.1°. Best body text is #FFFFFF at 15.47:1 contrast (WCAG AA passes).

Color values

HEX#301553
RGBrgb(48, 21, 83)
HSLhsl(266, 60%, 20%)
HSVhsv(266, 75%, 33%)
CMYKcmyk(42.2%, 74.7%, 0%, 67.5%)
CIE-LABlab(14.34, 28.08, -32.72)
CIE-LCHlch(14.34, 43.11, 310.64°)
OKLaboklab(27.39% 0.052 -0.0933)
OKLCHoklch(27.39% 0.107 299.1)
XYZxyz(3.0480, 1.7892, 8.3667)
Luminance0.0179 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301553 #385315
analogous
#151953 #301553 #4F1553
triadic
#301553 #533015 #155330
tetradic
#301553 #531519 #385315 #15534F
square
#301553 #531519 #385315 #15534F
split-complementary
#301553 #534F15 #195315
monochromatic
#0E0618 #140922 #301553 #4C2184 #682EB5

Accessibility & contrast

On white

15.47
#301553 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#301553 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301553
15.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301553#FFFFFF#000000##FFFFFF
##3015531.0015.471.3615.47
#FFFFFF15.471.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002455
Deuteranopia (green-blind)
#002452
Tritanopia (blue-blind)
#282432
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #301553;
/* rgb */ color: rgb(48, 21, 83);
/* oklch */ color: oklch(27.4% 0.107 299.1);
Tailwind
colors: {
  custom: {
    50: '#6c5584',
    500: '#301553',
    950: '#000000',
  },
}
SCSS
$custom: #301553;
$custom-light: #6c5584;
$custom-dark: #000000;
JSON
{
  "hex": "#301553",
  "rgb": {
    "r": 48,
    "g": 21,
    "b": 83
  },
  "hsl": {
    "h": 266.129,
    "s": 59.615,
    "l": 20.392
  },
  "oklch": {
    "l": 0.27391,
    "c": 0.10681,
    "h": 299.1
  },
  "luminance": 0.01789
}

Semantic roles & 50–950 ramp

primary
#301553
secondary
#678B39
accent
#E3459E
background
#F6F5F8
surface
#ECE8EF
border
#C7C4CA
text
#07030B
muted
#7A787C

Preview Lab

Preview with #301553

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

Preview Lab → · Contrast checker → · Palette generator →

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