#301075#301075

#301075 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.2% C 0.154 H 287.4°. Best body text is #FFFFFF at 14.42:1 contrast (WCAG AA passes).

Color values

HEX#301075
RGBrgb(48, 16, 117)
HSLhsl(259, 76%, 26%)
HSVhsv(259, 86%, 46%)
CMYKcmyk(59%, 86.3%, 0%, 54.1%)
CIE-LABlab(16.91, 40.55, -51.01)
CIE-LCHlch(16.91, 65.16, 308.49°)
OKLaboklab(30.23% 0.0461 -0.1469)
OKLCHoklch(30.23% 0.154 287.4)
XYZxyz(4.6141, 2.2831, 17.0237)
Luminance0.0228 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301075 #557510
analogous
#102275 #301075 #621075
triadic
#301075 #753010 #107530
tetradic
#301075 #751022 #557510 #107562
square
#301075 #751022 #557510 #107562
split-complementary
#301075 #756210 #227510
monochromatic
#0B041B #1A093F #301075 #4617AB #5C1FE0

Accessibility & contrast

On white

14.42
#301075 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#301075 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301075
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301075#FFFFFF#000000##FFFFFF
##3010751.0014.421.4614.42
#FFFFFF14.421.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C78
Deuteranopia (green-blind)
#002773
Tritanopia (blue-blind)
#0F2F44
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #301075;
/* rgb */ color: rgb(48, 16, 117);
/* oklch */ color: oklch(30.2% 0.154 287.4);
Tailwind
colors: {
  custom: {
    50: '#72549e',
    500: '#301075',
    950: '#000000',
  },
}
SCSS
$custom: #301075;
$custom-light: #72549e;
$custom-dark: #000000;
JSON
{
  "hex": "#301075",
  "rgb": {
    "r": 48,
    "g": 16,
    "b": 117
  },
  "hsl": {
    "h": 259.01,
    "s": 75.94,
    "l": 26.078
  },
  "oklch": {
    "l": 0.30234,
    "c": 0.15391,
    "h": 287.4
  },
  "luminance": 0.02283
}

Semantic roles & 50–950 ramp

primary
#301075
secondary
#86AC35
accent
#F335B7
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #301075

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

Preview Lab → · Contrast checker → · Palette generator →

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