#301354#301354

#301354 is a dark, moderate violet. Relative luminance 0.017; OKLCH L 27.2% C 0.111 H 299.2°. Best body text is #FFFFFF at 15.59:1 contrast (WCAG AA passes).

Color values

HEX#301354
RGBrgb(48, 19, 84)
HSLhsl(267, 63%, 20%)
HSVhsv(267, 77%, 33%)
CMYKcmyk(42.9%, 77.4%, 0%, 67.1%)
CIE-LABlab(14.03, 29.50, -33.91)
CIE-LCHlch(14.03, 44.94, 311.02°)
OKLaboklab(27.2% 0.0541 -0.0968)
OKLCHoklch(27.2% 0.111 299.2)
XYZxyz(3.0516, 1.7342, 8.5597)
Luminance0.0173 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301354 #375413
analogous
#131754 #301354 #501354
triadic
#301354 #543013 #135430
tetradic
#301354 #541317 #375413 #135450
square
#301354 #541317 #375413 #135450
split-complementary
#301354 #545013 #175413
monochromatic
#0E0619 #130822 #301354 #4D1E86 #692AB8

Accessibility & contrast

On white

15.59
#301354 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #301354
15.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301354#FFFFFF#000000##FFFFFF
##3013541.0015.591.3515.59
#FFFFFF15.591.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002456
Deuteranopia (green-blind)
#002353
Tritanopia (blue-blind)
#282332
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #301354;
/* rgb */ color: rgb(48, 19, 84);
/* oklch */ color: oklch(27.2% 0.111 299.2);
Tailwind
colors: {
  custom: {
    50: '#6c5385',
    500: '#301354',
    950: '#000000',
  },
}
SCSS
$custom: #301354;
$custom-light: #6c5385;
$custom-dark: #000000;
JSON
{
  "hex": "#301354",
  "rgb": {
    "r": 48,
    "g": 19,
    "b": 84
  },
  "hsl": {
    "h": 266.769,
    "s": 63.107,
    "l": 20.196
  },
  "oklch": {
    "l": 0.27195,
    "c": 0.1109,
    "h": 299.2
  },
  "luminance": 0.01734
}

Semantic roles & 50–950 ramp

primary
#301354
secondary
#668C36
accent
#E6429D
background
#F6F4F8
surface
#ECE7EF
border
#C7C3CA
text
#07030B
muted
#7A787C

Preview Lab

Preview with #301354

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

Preview Lab → · Contrast checker → · Palette generator →

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