#301049#301049

#301049 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.8% C 0.101 H 306.1°. Best body text is #FFFFFF at 16.20:1 contrast (WCAG AA passes).

Color values

HEX#301049
RGBrgb(48, 16, 73)
HSLhsl(274, 64%, 17%)
HSVhsv(274, 78%, 29%)
CMYKcmyk(34.2%, 78.1%, 0%, 71.4%)
CIE-LABlab(12.48, 28.02, -28.86)
CIE-LCHlch(12.48, 40.23, 314.15°)
OKLaboklab(25.79% 0.0598 -0.0819)
OKLCHoklch(25.79% 0.101 306.1)
XYZxyz(2.6066, 1.4800, 6.4504)
Luminance0.0148 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301049 #294910
analogous
#131049 #301049 #491046
triadic
#301049 #493010 #104930
tetradic
#301049 #491310 #294910 #104649
square
#301049 #491310 #294910 #104649
split-complementary
#301049 #464910 #104913
monochromatic
#110619 #110619 #301049 #511B7B #7226AD

Accessibility & contrast

On white

16.20
#301049 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#301049 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301049
16.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301049#FFFFFF#000000##FFFFFF
##3010491.0016.201.3016.20
#FFFFFF16.201.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F4B
Deuteranopia (green-blind)
#002148
Tritanopia (blue-blind)
#2C1D2B
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #301049;
/* rgb */ color: rgb(48, 16, 73);
/* oklch */ color: oklch(25.8% 0.101 306.1);
Tailwind
colors: {
  custom: {
    50: '#6b517c',
    500: '#301049',
    950: '#000000',
  },
}
SCSS
$custom: #301049;
$custom-light: #6b517c;
$custom-dark: #000000;
JSON
{
  "hex": "#301049",
  "rgb": {
    "r": 48,
    "g": 16,
    "b": 73
  },
  "hsl": {
    "h": 273.684,
    "s": 64.045,
    "l": 17.451
  },
  "oklch": {
    "l": 0.25794,
    "c": 0.10145,
    "h": 306.1
  },
  "luminance": 0.0148
}

Semantic roles & 50–950 ramp

primary
#301049
secondary
#558332
accent
#E7418A
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#070209
muted
#7A787B

Preview Lab

Preview with #301049

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

Preview Lab → · Contrast checker → · Palette generator →

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