#301046#301046

#301046 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.5% C 0.098 H 308.1°. Best body text is #FFFFFF at 16.30:1 contrast (WCAG AA passes).

Color values

HEX#301046
RGBrgb(48, 16, 70)
HSLhsl(276, 63%, 17%)
HSVhsv(276, 77%, 27%)
CMYKcmyk(31.4%, 77.1%, 0%, 72.5%)
CIE-LABlab(12.23, 27.21, -27.18)
CIE-LCHlch(12.23, 38.46, 315.03°)
OKLaboklab(25.54% 0.0603 -0.077)
OKLCHoklch(25.54% 0.098 308.1)
XYZxyz(2.5095, 1.4412, 5.9391)
Luminance0.0144 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301046 #264610
analogous
#151046 #301046 #461041
triadic
#301046 #463010 #104630
tetradic
#301046 #461510 #264610 #104146
square
#301046 #461510 #264610 #104146
split-complementary
#301046 #414610 #104615
monochromatic
#110619 #110619 #301046 #521B78 #7427AA

Accessibility & contrast

On white

16.30
#301046 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#301046 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301046
16.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301046#FFFFFF#000000##FFFFFF
##3010461.0016.301.2916.30
#FFFFFF16.301.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F48
Deuteranopia (green-blind)
#042045
Tritanopia (blue-blind)
#2D1C29
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #301046;
/* rgb */ color: rgb(48, 16, 70);
/* oklch */ color: oklch(25.5% 0.098 308.1);
Tailwind
colors: {
  custom: {
    50: '#6b517a',
    500: '#301046',
    950: '#000000',
  },
}
SCSS
$custom: #301046;
$custom-light: #6b517a;
$custom-dark: #000000;
JSON
{
  "hex": "#301046",
  "rgb": {
    "r": 48,
    "g": 16,
    "b": 70
  },
  "hsl": {
    "h": 275.556,
    "s": 62.791,
    "l": 16.863
  },
  "oklch": {
    "l": 0.25535,
    "c": 0.0978,
    "h": 308.1
  },
  "luminance": 0.01441
}

Semantic roles & 50–950 ramp

primary
#301046
secondary
#528032
accent
#E64285
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070209
muted
#7A787B

Preview Lab

Preview with #301046

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

Preview Lab → · Contrast checker → · Palette generator →

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