#301448#301448

#301448 is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.3% C 0.094 H 305.6°. Best body text is #FFFFFF at 15.92:1 contrast (WCAG AA passes).

Color values

HEX#301448
RGBrgb(48, 20, 72)
HSLhsl(272, 57%, 18%)
HSVhsv(272, 72%, 28%)
CMYKcmyk(33.3%, 72.2%, 0%, 71.8%)
CIE-LABlab(13.21, 25.49, -26.99)
CIE-LCHlch(13.21, 37.12, 313.37°)
OKLaboklab(26.29% 0.0548 -0.0765)
OKLCHoklch(26.29% 0.094 305.6)
XYZxyz(2.6385, 1.5966, 6.2988)
Luminance0.0160 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301448 #2C4814
analogous
#161448 #301448 #481446
triadic
#301448 #483014 #144830
tetradic
#301448 #481614 #2C4814 #144648
square
#301448 #481614 #2C4814 #144648
split-complementary
#301448 #464814 #144816
monochromatic
#100718 #100718 #301448 #502178 #702FA8

Accessibility & contrast

On white

15.92
#301448 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #301448
15.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301448#FFFFFF#000000##FFFFFF
##3014481.0015.921.3215.92
#FFFFFF15.921.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #301448;
/* rgb */ color: rgb(48, 20, 72);
/* oklch */ color: oklch(26.3% 0.094 305.6);
Tailwind
colors: {
  custom: {
    50: '#6b537b',
    500: '#301448',
    950: '#000000',
  },
}
SCSS
$custom: #301448;
$custom-light: #6b537b;
$custom-dark: #000000;
JSON
{
  "hex": "#301448",
  "rgb": {
    "r": 48,
    "g": 20,
    "b": 72
  },
  "hsl": {
    "h": 272.308,
    "s": 56.522,
    "l": 18.039
  },
  "oklch": {
    "l": 0.2629,
    "c": 0.09405,
    "h": 305.6
  },
  "luminance": 0.01597
}

Semantic roles & 50–950 ramp

primary
#301448
secondary
#598038
accent
#E0488E
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#070209
muted
#7A787B

Preview Lab

Preview with #301448

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

Preview Lab → · Contrast checker → · Palette generator →

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