#301346#301346

#301346 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 26.0% C 0.093 H 307.2°. Best body text is #FFFFFF at 16.06:1 contrast (WCAG AA passes).

Color values

HEX#301346
RGBrgb(48, 19, 70)
HSLhsl(274, 57%, 17%)
HSVhsv(274, 73%, 27%)
CMYKcmyk(31.4%, 72.9%, 0%, 72.5%)
CIE-LABlab(12.84, 25.52, -26.20)
CIE-LCHlch(12.84, 36.57, 314.25°)
OKLaboklab(25.97% 0.0563 -0.0741)
OKLCHoklch(25.97% 0.093 307.2)
XYZxyz(2.5571, 1.5364, 5.9550)
Luminance0.0154 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301346 #294613
analogous
#171346 #301346 #461342
triadic
#301346 #463013 #134630
tetradic
#301346 #461713 #294613 #134246
square
#301346 #461713 #294613 #134246
split-complementary
#301346 #424613 #134617
monochromatic
#110718 #110718 #301346 #512076 #722DA6

Accessibility & contrast

On white

16.06
#301346 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #301346
16.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301346#FFFFFF#000000##FFFFFF
##3013461.0016.061.3116.06
#FFFFFF16.061.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002048
Deuteranopia (green-blind)
#082145
Tritanopia (blue-blind)
#2C1E2A
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #301346;
/* rgb */ color: rgb(48, 19, 70);
/* oklch */ color: oklch(26.0% 0.093 307.2);
Tailwind
colors: {
  custom: {
    50: '#6b537a',
    500: '#301346',
    950: '#000000',
  },
}
SCSS
$custom: #301346;
$custom-light: #6b537a;
$custom-dark: #000000;
JSON
{
  "hex": "#301346",
  "rgb": {
    "r": 48,
    "g": 19,
    "b": 70
  },
  "hsl": {
    "h": 274.118,
    "s": 57.303,
    "l": 17.451
  },
  "oklch": {
    "l": 0.25971,
    "c": 0.0931,
    "h": 307.2
  },
  "luminance": 0.01536
}

Semantic roles & 50–950 ramp

primary
#301346
secondary
#557F36
accent
#E14789
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070209
muted
#7A787B

Preview Lab

Preview with #301346

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

Preview Lab → · Contrast checker → · Palette generator →

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