#301044#301044

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

Color values

HEX#301044
RGBrgb(48, 16, 68)
HSLhsl(277, 62%, 16%)
HSVhsv(277, 76%, 27%)
CMYKcmyk(29.4%, 76.5%, 0%, 73.3%)
CIE-LABlab(12.07, 26.67, -26.04)
CIE-LCHlch(12.07, 37.28, 315.69°)
OKLaboklab(25.37% 0.0606 -0.0737)
OKLCHoklch(25.37% 0.095 309.4)
XYZxyz(2.4474, 1.4164, 5.6122)
Luminance0.0142 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301044 #244410
analogous
#161044 #301044 #44103E
triadic
#301044 #443010 #104430
tetradic
#301044 #441610 #244410 #103E44
square
#301044 #441610 #244410 #103E44
split-complementary
#301044 #3E4410 #104416
monochromatic
#110619 #110619 #301044 #531C76 #7627A7

Accessibility & contrast

On white

16.37
#301044 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#301044 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301044
16.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301044#FFFFFF#000000##FFFFFF
##3010441.0016.371.2816.37
#FFFFFF16.371.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E46
Deuteranopia (green-blind)
#072043
Tritanopia (blue-blind)
#2D1B28
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #301044;
/* rgb */ color: rgb(48, 16, 68);
/* oklch */ color: oklch(25.4% 0.095 309.4);
Tailwind
colors: {
  custom: {
    50: '#6b5178',
    500: '#301044',
    950: '#000000',
  },
}
SCSS
$custom: #301044;
$custom-light: #6b5178;
$custom-dark: #000000;
JSON
{
  "hex": "#301044",
  "rgb": {
    "r": 48,
    "g": 16,
    "b": 68
  },
  "hsl": {
    "h": 276.923,
    "s": 61.905,
    "l": 16.471
  },
  "oklch": {
    "l": 0.25366,
    "c": 0.09535,
    "h": 309.4
  },
  "luminance": 0.01416
}

Semantic roles & 50–950 ramp

primary
#301044
secondary
#4F7E32
accent
#E54381
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070209
muted
#7A787B

Preview Lab

Preview with #301044

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

Preview Lab → · Contrast checker → · Palette generator →

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