#301489#301489

#301489 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.9% C 0.174 H 282.1°. Best body text is #FFFFFF at 13.23:1 contrast (WCAG AA passes).

Color values

HEX#301489
RGBrgb(48, 20, 137)
HSLhsl(254, 75%, 31%)
HSVhsv(254, 85%, 54%)
CMYKcmyk(65%, 85.4%, 0%, 46.3%)
CIE-LABlab(19.78, 44.68, -58.98)
CIE-LCHlch(19.78, 73.99, 307.14°)
OKLaboklab(32.89% 0.0364 -0.1701)
OKLCHoklch(32.89% 0.174 282.1)
XYZxyz(5.9830, 2.9344, 23.9132)
Luminance0.0294 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301489 #6D8914
analogous
#143289 #301489 #6A1489
triadic
#301489 #893014 #148930
tetradic
#301489 #891432 #6D8914 #14896A
square
#301489 #891432 #6D8914 #14896A
split-complementary
#301489 #896A14 #328914
monochromatic
#0B041E #1D0C54 #301489 #431CBE #5F36E2

Accessibility & contrast

On white

13.23
#301489 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#301489 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301489
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301489#FFFFFF#000000##FFFFFF
##3014891.0013.231.5913.23
#FFFFFF13.231.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00338C
Deuteranopia (green-blind)
#002C87
Tritanopia (blue-blind)
#003950
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #301489;
/* rgb */ color: rgb(48, 20, 137);
/* oklch */ color: oklch(32.9% 0.174 282.1);
Tailwind
colors: {
  custom: {
    50: '#7657ad',
    500: '#301489',
    950: '#000000',
  },
}
SCSS
$custom: #301489;
$custom-light: #7657ad;
$custom-dark: #000000;
JSON
{
  "hex": "#301489",
  "rgb": {
    "r": 48,
    "g": 20,
    "b": 137
  },
  "hsl": {
    "h": 254.359,
    "s": 74.522,
    "l": 30.784
  },
  "oklch": {
    "l": 0.32885,
    "c": 0.17398,
    "h": 282.1
  },
  "luminance": 0.02935
}

Semantic roles & 50–950 ramp

primary
#301489
secondary
#9EBD3C
accent
#F137C5
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0310
muted
#7C787F

Preview Lab

Preview with #301489

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

Preview Lab → · Contrast checker → · Palette generator →

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