#301348#301348

#301348 is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.1% C 0.096 H 305.9°. Best body text is #FFFFFF at 16.00:1 contrast (WCAG AA passes).

Color values

HEX#301348
RGBrgb(48, 19, 72)
HSLhsl(273, 58%, 18%)
HSVhsv(273, 74%, 28%)
CMYKcmyk(33.3%, 73.6%, 0%, 71.8%)
CIE-LABlab(13.00, 26.08, -27.33)
CIE-LCHlch(13.00, 37.78, 313.65°)
OKLaboklab(26.14% 0.0561 -0.0775)
OKLCHoklch(26.14% 0.096 305.9)
XYZxyz(2.6212, 1.5620, 6.2930)
Luminance0.0156 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301348 #2B4813
analogous
#151348 #301348 #481345
triadic
#301348 #483013 #134830
tetradic
#301348 #481513 #2B4813 #134548
square
#301348 #481513 #2B4813 #134548
split-complementary
#301348 #454813 #134815
monochromatic
#100618 #100618 #301348 #502078 #712DA9

Accessibility & contrast

On white

16.00
#301348 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#301348 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301348
16.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301348#FFFFFF#000000##FFFFFF
##3013481.0016.001.3116.00
#FFFFFF16.001.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214A
Deuteranopia (green-blind)
#062247
Tritanopia (blue-blind)
#2C1E2B
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #301348;
/* rgb */ color: rgb(48, 19, 72);
/* oklch */ color: oklch(26.1% 0.096 305.9);
Tailwind
colors: {
  custom: {
    50: '#6b537b',
    500: '#301348',
    950: '#000000',
  },
}
SCSS
$custom: #301348;
$custom-light: #6b537b;
$custom-dark: #000000;
JSON
{
  "hex": "#301348",
  "rgb": {
    "r": 48,
    "g": 19,
    "b": 72
  },
  "hsl": {
    "h": 272.83,
    "s": 58.242,
    "l": 17.843
  },
  "oklch": {
    "l": 0.26137,
    "c": 0.09566,
    "h": 305.9
  },
  "luminance": 0.01562
}

Semantic roles & 50–950 ramp

primary
#301348
secondary
#588136
accent
#E1468D
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#070209
muted
#7A787B

Preview Lab

Preview with #301348

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

Preview Lab → · Contrast checker → · Palette generator →

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