#301446#301446

#301446 is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.1% C 0.091 H 306.9°. Best body text is #FFFFFF at 15.98:1 contrast (WCAG AA passes).

Color values

HEX#301446
RGBrgb(48, 20, 70)
HSLhsl(274, 56%, 18%)
HSVhsv(274, 71%, 27%)
CMYKcmyk(31.4%, 71.4%, 0%, 72.5%)
CIE-LABlab(13.05, 24.93, -25.85)
CIE-LCHlch(13.05, 35.92, 313.96°)
OKLaboklab(26.13% 0.0549 -0.0731)
OKLCHoklch(26.13% 0.091 306.9)
XYZxyz(2.5743, 1.5709, 5.9608)
Luminance0.0157 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301446 #2A4614
analogous
#171446 #301446 #461443
triadic
#301446 #463014 #144630
tetradic
#301446 #461714 #2A4614 #144346
square
#301446 #461714 #2A4614 #144346
split-complementary
#301446 #434614 #144617
monochromatic
#100718 #100718 #301446 #512276 #712FA5

Accessibility & contrast

On white

15.98
#301446 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #301446
15.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301446#FFFFFF#000000##FFFFFF
##3014461.0015.981.3115.98
#FFFFFF15.981.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002148
Deuteranopia (green-blind)
#0A2245
Tritanopia (blue-blind)
#2C1E2A
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #301446;
/* rgb */ color: rgb(48, 20, 70);
/* oklch */ color: oklch(26.1% 0.091 306.9);
Tailwind
colors: {
  custom: {
    50: '#6b537a',
    500: '#301446',
    950: '#000000',
  },
}
SCSS
$custom: #301446;
$custom-light: #6b537a;
$custom-dark: #000000;
JSON
{
  "hex": "#301446",
  "rgb": {
    "r": 48,
    "g": 20,
    "b": 70
  },
  "hsl": {
    "h": 273.6,
    "s": 55.556,
    "l": 17.647
  },
  "oklch": {
    "l": 0.26126,
    "c": 0.09146,
    "h": 306.9
  },
  "luminance": 0.01571
}

Semantic roles & 50–950 ramp

primary
#301446
secondary
#577E38
accent
#DF498B
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070209
muted
#7A787B

Preview Lab

Preview with #301446

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

Preview Lab → · Contrast checker → · Palette generator →

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