#301349#301349

#301349 is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.2% C 0.097 H 305.3°. Best body text is #FFFFFF at 15.97:1 contrast (WCAG AA passes).

Color values

HEX#301349
RGBrgb(48, 19, 73)
HSLhsl(272, 59%, 18%)
HSVhsv(272, 74%, 29%)
CMYKcmyk(34.2%, 74%, 0%, 71.4%)
CIE-LABlab(13.08, 26.35, -27.89)
CIE-LCHlch(13.08, 38.38, 313.37°)
OKLaboklab(26.22% 0.056 -0.0791)
OKLCHoklch(26.22% 0.097 305.3)
XYZxyz(2.6541, 1.5752, 6.4663)
Luminance0.0158 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301349 #2C4913
analogous
#151349 #301349 #491347
triadic
#301349 #493013 #134930
tetradic
#301349 #491513 #2C4913 #134749
square
#301349 #491513 #2C4913 #134749
split-complementary
#301349 #474913 #134915
monochromatic
#100618 #100618 #301349 #50207A #702CAA

Accessibility & contrast

On white

15.97
#301349 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#301349 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301349
15.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301349#FFFFFF#000000##FFFFFF
##3013491.0015.971.3215.97
#FFFFFF15.971.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214B
Deuteranopia (green-blind)
#042248
Tritanopia (blue-blind)
#2C1F2C
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #301349;
/* rgb */ color: rgb(48, 19, 73);
/* oklch */ color: oklch(26.2% 0.097 305.3);
Tailwind
colors: {
  custom: {
    50: '#6b537c',
    500: '#301349',
    950: '#000000',
  },
}
SCSS
$custom: #301349;
$custom-light: #6b537c;
$custom-dark: #000000;
JSON
{
  "hex": "#301349",
  "rgb": {
    "r": 48,
    "g": 19,
    "b": 73
  },
  "hsl": {
    "h": 272.222,
    "s": 58.696,
    "l": 18.039
  },
  "oklch": {
    "l": 0.26221,
    "c": 0.09693,
    "h": 305.3
  },
  "luminance": 0.01575
}

Semantic roles & 50–950 ramp

primary
#301349
secondary
#598236
accent
#E2468E
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#070209
muted
#7A787B

Preview Lab

Preview with #301349

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

Preview Lab → · Contrast checker → · Palette generator →

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