#301045#301045

#301045 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.4% C 0.097 H 308.7°. Best body text is #FFFFFF at 16.33:1 contrast (WCAG AA passes).

Color values

HEX#301045
RGBrgb(48, 16, 69)
HSLhsl(276, 62%, 17%)
HSVhsv(276, 77%, 27%)
CMYKcmyk(30.4%, 76.8%, 0%, 72.9%)
CIE-LABlab(12.15, 26.94, -26.61)
CIE-LCHlch(12.15, 37.87, 315.35°)
OKLaboklab(25.45% 0.0604 -0.0753)
OKLCHoklch(25.45% 0.097 308.7)
XYZxyz(2.4782, 1.4287, 5.7743)
Luminance0.0143 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301045 #254510
analogous
#161045 #301045 #451040
triadic
#301045 #453010 #104530
tetradic
#301045 #451610 #254510 #104045
square
#301045 #451610 #254510 #104045
split-complementary
#301045 #404510 #104516
monochromatic
#110619 #110619 #301045 #531C77 #7527A8

Accessibility & contrast

On white

16.33
#301045 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #301045
16.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301045#FFFFFF#000000##FFFFFF
##3010451.0016.331.2916.33
#FFFFFF16.331.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #301045;
/* rgb */ color: rgb(48, 16, 69);
/* oklch */ color: oklch(25.4% 0.097 308.7);
Tailwind
colors: {
  custom: {
    50: '#6b5179',
    500: '#301045',
    950: '#000000',
  },
}
SCSS
$custom: #301045;
$custom-light: #6b5179;
$custom-dark: #000000;
JSON
{
  "hex": "#301045",
  "rgb": {
    "r": 48,
    "g": 16,
    "b": 69
  },
  "hsl": {
    "h": 276.226,
    "s": 62.353,
    "l": 16.667
  },
  "oklch": {
    "l": 0.2545,
    "c": 0.09657,
    "h": 308.7
  },
  "luminance": 0.01429
}

Semantic roles & 50–950 ramp

primary
#301045
secondary
#507F32
accent
#E54283
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070209
muted
#7A787B

Preview Lab

Preview with #301045

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

Preview Lab → · Contrast checker → · Palette generator →

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