#301345#301345

#301345 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.9% C 0.092 H 307.9°. Best body text is #FFFFFF at 16.09:1 contrast (WCAG AA passes).

Color values

HEX#301345
RGBrgb(48, 19, 69)
HSLhsl(275, 57%, 17%)
HSVhsv(275, 72%, 27%)
CMYKcmyk(30.4%, 72.5%, 0%, 72.9%)
CIE-LABlab(12.76, 25.25, -25.63)
CIE-LCHlch(12.76, 35.97, 314.57°)
OKLaboklab(25.89% 0.0564 -0.0725)
OKLCHoklch(25.89% 0.092 307.9)
XYZxyz(2.5258, 1.5238, 5.7901)
Luminance0.0152 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301345 #284513
analogous
#171345 #301345 #451341
triadic
#301345 #453013 #134530
tetradic
#301345 #451713 #284513 #134145
square
#301345 #451713 #284513 #134145
split-complementary
#301345 #414513 #134517
monochromatic
#110718 #110718 #301345 #512075 #732DA5

Accessibility & contrast

On white

16.09
#301345 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #301345
16.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301345#FFFFFF#000000##FFFFFF
##3013451.0016.091.3016.09
#FFFFFF16.091.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002047
Deuteranopia (green-blind)
#0A2144
Tritanopia (blue-blind)
#2D1D2A
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #301345;
/* rgb */ color: rgb(48, 19, 69);
/* oklch */ color: oklch(25.9% 0.092 307.9);
Tailwind
colors: {
  custom: {
    50: '#6b5379',
    500: '#301345',
    950: '#000000',
  },
}
SCSS
$custom: #301345;
$custom-light: #6b5379;
$custom-dark: #000000;
JSON
{
  "hex": "#301345",
  "rgb": {
    "r": 48,
    "g": 19,
    "b": 69
  },
  "hsl": {
    "h": 274.8,
    "s": 56.818,
    "l": 17.255
  },
  "oklch": {
    "l": 0.25889,
    "c": 0.09182,
    "h": 307.9
  },
  "luminance": 0.01524
}

Semantic roles & 50–950 ramp

primary
#301345
secondary
#547E36
accent
#E04888
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070209
muted
#7A787B

Preview Lab

Preview with #301345

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

Preview Lab → · Contrast checker → · Palette generator →

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