#301353#301353

#301353 is a dark, moderate violet. Relative luminance 0.017; OKLCH L 27.1% C 0.110 H 299.7°. Best body text is #FFFFFF at 15.63:1 contrast (WCAG AA passes).

Color values

HEX#301353
RGBrgb(48, 19, 83)
HSLhsl(267, 63%, 20%)
HSVhsv(267, 77%, 33%)
CMYKcmyk(42.2%, 77.1%, 0%, 67.5%)
CIE-LABlab(13.94, 29.21, -33.38)
CIE-LCHlch(13.94, 44.35, 311.19°)
OKLaboklab(27.1% 0.0543 -0.0952)
OKLCHoklch(27.1% 0.11 299.7)
XYZxyz(3.0127, 1.7186, 8.3549)
Luminance0.0172 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301353 #365313
analogous
#131653 #301353 #501353
triadic
#301353 #533013 #135330
tetradic
#301353 #531316 #365313 #135350
square
#301353 #531316 #365313 #135350
split-complementary
#301353 #535013 #165313
monochromatic
#0E0619 #130821 #301353 #4D1E85 #6A2AB7

Accessibility & contrast

On white

15.63
#301353 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#301353 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301353
15.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301353#FFFFFF#000000##FFFFFF
##3013531.0015.631.3415.63
#FFFFFF15.631.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002355
Deuteranopia (green-blind)
#002352
Tritanopia (blue-blind)
#282331
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #301353;
/* rgb */ color: rgb(48, 19, 83);
/* oklch */ color: oklch(27.1% 0.110 299.7);
Tailwind
colors: {
  custom: {
    50: '#6c5384',
    500: '#301353',
    950: '#000000',
  },
}
SCSS
$custom: #301353;
$custom-light: #6c5384;
$custom-dark: #000000;
JSON
{
  "hex": "#301353",
  "rgb": {
    "r": 48,
    "g": 19,
    "b": 83
  },
  "hsl": {
    "h": 267.188,
    "s": 62.745,
    "l": 20
  },
  "oklch": {
    "l": 0.27103,
    "c": 0.10964,
    "h": 299.7
  },
  "luminance": 0.01719
}

Semantic roles & 50–950 ramp

primary
#301353
secondary
#658B36
accent
#E6429C
background
#F6F4F8
surface
#ECE7EF
border
#C7C3CA
text
#07030B
muted
#7A787C

Preview Lab

Preview with #301353

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

Preview Lab → · Contrast checker → · Palette generator →

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