#301375#301375

#301375 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.5% C 0.151 H 287.0°. Best body text is #FFFFFF at 14.23:1 contrast (WCAG AA passes).

Color values

HEX#301375
RGBrgb(48, 19, 117)
HSLhsl(258, 72%, 27%)
HSVhsv(258, 84%, 46%)
CMYKcmyk(59%, 83.8%, 0%, 54.1%)
CIE-LABlab(17.36, 39.24, -50.26)
CIE-LCHlch(17.36, 63.76, 307.98°)
OKLaboklab(30.55% 0.0442 -0.1447)
OKLCHoklch(30.55% 0.151 287)
XYZxyz(4.6617, 2.3782, 17.0396)
Luminance0.0238 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301375 #587513
analogous
#132775 #301375 #611375
triadic
#301375 #753013 #137530
tetradic
#301375 #751327 #587513 #137561
square
#301375 #751327 #587513 #137561
split-complementary
#301375 #756113 #277513
monochromatic
#0B041A #1A0A40 #301375 #461CAA #5C27DC

Accessibility & contrast

On white

14.23
#301375 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#301375 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301375
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301375#FFFFFF#000000##FFFFFF
##3013751.0014.231.4814.23
#FFFFFF14.231.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D78
Deuteranopia (green-blind)
#002873
Tritanopia (blue-blind)
#0F3045
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #301375;
/* rgb */ color: rgb(48, 19, 117);
/* oklch */ color: oklch(30.5% 0.151 287.0);
Tailwind
colors: {
  custom: {
    50: '#72559e',
    500: '#301375',
    950: '#000000',
  },
}
SCSS
$custom: #301375;
$custom-light: #72559e;
$custom-dark: #000000;
JSON
{
  "hex": "#301375",
  "rgb": {
    "r": 48,
    "g": 19,
    "b": 117
  },
  "hsl": {
    "h": 257.755,
    "s": 72.059,
    "l": 26.667
  },
  "oklch": {
    "l": 0.30546,
    "c": 0.15132,
    "h": 287
  },
  "luminance": 0.02378
}

Semantic roles & 50–950 ramp

primary
#301375
secondary
#89AB38
accent
#EF39B9
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #301375

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

Preview Lab → · Contrast checker → · Palette generator →

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