#301459#301459

#301459 is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.8% C 0.116 H 296.6°. Best body text is #FFFFFF at 15.33:1 contrast (WCAG AA passes).

Color values

HEX#301459
RGBrgb(48, 20, 89)
HSLhsl(264, 63%, 21%)
HSVhsv(264, 78%, 35%)
CMYKcmyk(46.1%, 77.5%, 0%, 65.1%)
CIE-LABlab(14.68, 30.41, -36.23)
CIE-LCHlch(14.68, 47.30, 310.01°)
OKLaboklab(27.8% 0.0519 -0.1036)
OKLCHoklch(27.8% 0.116 296.6)
XYZxyz(3.2718, 1.8499, 9.6339)
Luminance0.0185 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301459 #3D5914
analogous
#141B59 #301459 #531459
triadic
#301459 #593014 #145930
tetradic
#301459 #59141B #3D5914 #145953
square
#301459 #59141B #3D5914 #145953
split-complementary
#301459 #595314 #1B5914
monochromatic
#0D0619 #150927 #301459 #4B1F8B #662ABD

Accessibility & contrast

On white

15.33
#301459 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#301459 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301459
15.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301459#FFFFFF#000000##FFFFFF
##3014591.0015.331.3715.33
#FFFFFF15.331.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255B
Deuteranopia (green-blind)
#002458
Tritanopia (blue-blind)
#252635
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #301459;
/* rgb */ color: rgb(48, 20, 89);
/* oklch */ color: oklch(27.8% 0.116 296.6);
Tailwind
colors: {
  custom: {
    50: '#6d5489',
    500: '#301459',
    950: '#000000',
  },
}
SCSS
$custom: #301459;
$custom-light: #6d5489;
$custom-dark: #000000;
JSON
{
  "hex": "#301459",
  "rgb": {
    "r": 48,
    "g": 20,
    "b": 89
  },
  "hsl": {
    "h": 264.348,
    "s": 63.303,
    "l": 21.373
  },
  "oklch": {
    "l": 0.27802,
    "c": 0.11589,
    "h": 296.6
  },
  "luminance": 0.0185
}

Semantic roles & 50–950 ramp

primary
#301459
secondary
#6D9138
accent
#E641A3
background
#F6F5F8
surface
#ECE8F0
border
#C7C4CB
text
#07030B
muted
#7A787C

Preview Lab

Preview with #301459

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

Preview Lab → · Contrast checker → · Palette generator →

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