#301C92#301C92

#301C92 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.8% C 0.178 H 279.5°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#301C92
RGBrgb(48, 28, 146)
HSLhsl(250, 68%, 34%)
HSVhsv(250, 81%, 57%)
CMYKcmyk(67.1%, 80.8%, 0%, 42.7%)
CIE-LABlab(22.07, 43.70, -60.81)
CIE-LCHlch(22.07, 74.88, 305.70°)
OKLaboklab(34.77% 0.0293 -0.1756)
OKLCHoklch(34.77% 0.178 279.5)
XYZxyz(6.8208, 3.5337, 27.5112)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301C92 #7E921C
analogous
#1C4392 #301C92 #6B1C92
triadic
#301C92 #92301C #1C9230
tetradic
#301C92 #921C43 #7E921C #1C926B
square
#301C92 #921C43 #7E921C #1C926B
split-complementary
#301C92 #926B1C #43921C
monochromatic
#0E082B #1F125F #301C92 #4126C5 #644CDD

Accessibility & contrast

On white

12.30
#301C92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#301C92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301C92
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301C92#FFFFFF#000000##FFFFFF
##301C921.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003995
Deuteranopia (green-blind)
#003090
Tritanopia (blue-blind)
#004057
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #301c92;
/* rgb */ color: rgb(48, 28, 146);
/* oklch */ color: oklch(34.8% 0.178 279.5);
Tailwind
colors: {
  custom: {
    50: '#775cb3',
    500: '#301c92',
    950: '#000000',
  },
}
SCSS
$custom: #301c92;
$custom-light: #775cb3;
$custom-dark: #000000;
JSON
{
  "hex": "#301c92",
  "rgb": {
    "r": 48,
    "g": 28,
    "b": 146
  },
  "hsl": {
    "h": 250.169,
    "s": 67.816,
    "l": 34.118
  },
  "oklch": {
    "l": 0.34767,
    "c": 0.17801,
    "h": 279.5
  },
  "luminance": 0.03534
}

Semantic roles & 50–950 ramp

primary
#301C92
secondary
#ABBF4B
accent
#EB3DCD
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #301C92

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

Preview Lab → · Contrast checker → · Palette generator →

#301C92 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva