#301347#301347

#301347 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 26.1% C 0.094 H 306.6°. Best body text is #FFFFFF at 16.03:1 contrast (WCAG AA passes).

Color values

HEX#301347
RGBrgb(48, 19, 71)
HSLhsl(273, 58%, 18%)
HSVhsv(273, 73%, 28%)
CMYKcmyk(32.4%, 73.2%, 0%, 72.2%)
CIE-LABlab(12.92, 25.80, -26.77)
CIE-LCHlch(12.92, 37.17, 313.95°)
OKLaboklab(26.05% 0.0562 -0.0758)
OKLCHoklch(26.05% 0.094 306.6)
XYZxyz(2.5889, 1.5491, 6.1226)
Luminance0.0155 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301347 #2A4713
analogous
#161347 #301347 #471344
triadic
#301347 #473013 #134730
tetradic
#301347 #471613 #2A4713 #134447
square
#301347 #471613 #2A4713 #134447
split-complementary
#301347 #444713 #134716
monochromatic
#100618 #100618 #301347 #512077 #712DA8

Accessibility & contrast

On white

16.03
#301347 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#301347 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301347
16.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301347#FFFFFF#000000##FFFFFF
##3013471.0016.031.3116.03
#FFFFFF16.031.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002049
Deuteranopia (green-blind)
#072246
Tritanopia (blue-blind)
#2C1E2B
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #301347;
/* rgb */ color: rgb(48, 19, 71);
/* oklch */ color: oklch(26.1% 0.094 306.6);
Tailwind
colors: {
  custom: {
    50: '#6b537b',
    500: '#301347',
    950: '#000000',
  },
}
SCSS
$custom: #301347;
$custom-light: #6b537b;
$custom-dark: #000000;
JSON
{
  "hex": "#301347",
  "rgb": {
    "r": 48,
    "g": 19,
    "b": 71
  },
  "hsl": {
    "h": 273.462,
    "s": 57.778,
    "l": 17.647
  },
  "oklch": {
    "l": 0.26054,
    "c": 0.09438,
    "h": 306.6
  },
  "luminance": 0.01549
}

Semantic roles & 50–950 ramp

primary
#301347
secondary
#578036
accent
#E1478B
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070209
muted
#7A787B

Preview Lab

Preview with #301347

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

Preview Lab → · Contrast checker → · Palette generator →

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