#301456#301456

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

Color values

HEX#301456
RGBrgb(48, 20, 86)
HSLhsl(265, 62%, 21%)
HSVhsv(265, 77%, 34%)
CMYKcmyk(44.2%, 76.7%, 0%, 66.3%)
CIE-LABlab(14.40, 29.53, -34.65)
CIE-LCHlch(14.40, 45.53, 310.44°)
OKLaboklab(27.52% 0.0526 -0.099)
OKLCHoklch(27.52% 0.112 298)
XYZxyz(3.1484, 1.8005, 8.9840)
Luminance0.0180 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301456 #3A5614
analogous
#141956 #301456 #511456
triadic
#301456 #563014 #145630
tetradic
#301456 #561419 #3A5614 #145651
square
#301456 #561419 #3A5614 #145651
split-complementary
#301456 #565114 #195614
monochromatic
#0E0619 #140824 #301456 #4C2088 #672BB9

Accessibility & contrast

On white

15.44
#301456 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #301456
15.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301456#FFFFFF#000000##FFFFFF
##3014561.0015.441.3615.44
#FFFFFF15.441.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #301456;
/* rgb */ color: rgb(48, 20, 86);
/* oklch */ color: oklch(27.5% 0.112 298.0);
Tailwind
colors: {
  custom: {
    50: '#6c5486',
    500: '#301456',
    950: '#000000',
  },
}
SCSS
$custom: #301456;
$custom-light: #6c5486;
$custom-dark: #000000;
JSON
{
  "hex": "#301456",
  "rgb": {
    "r": 48,
    "g": 20,
    "b": 86
  },
  "hsl": {
    "h": 265.455,
    "s": 62.264,
    "l": 20.784
  },
  "oklch": {
    "l": 0.2752,
    "c": 0.11207,
    "h": 298
  },
  "luminance": 0.01801
}

Semantic roles & 50–950 ramp

primary
#301456
secondary
#698E38
accent
#E542A0
background
#F6F4F8
surface
#ECE8EF
border
#C7C4CA
text
#07030B
muted
#7A787C

Preview Lab

Preview with #301456

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

Preview Lab → · Contrast checker → · Palette generator →

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