#301460#301460

#301460 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.5% C 0.125 H 293.7°. Best body text is #FFFFFF at 15.06:1 contrast (WCAG AA passes).

Color values

HEX#301460
RGBrgb(48, 20, 96)
HSLhsl(262, 66%, 23%)
HSVhsv(262, 79%, 38%)
CMYKcmyk(50%, 79.2%, 0%, 62.4%)
CIE-LABlab(15.35, 32.49, -39.82)
CIE-LCHlch(15.35, 51.40, 309.21°)
OKLaboklab(28.48% 0.0501 -0.1142)
OKLCHoklch(28.48% 0.125 293.7)
XYZxyz(3.5798, 1.9731, 11.2563)
Luminance0.0197 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301460 #446014
analogous
#141E60 #301460 #561460
triadic
#301460 #603014 #146030
tetradic
#301460 #60141E #446014 #146056
square
#301460 #60141E #446014 #146056
split-complementary
#301460 #605614 #1E6014
monochromatic
#0D0519 #17092D #301460 #491F93 #6329C5

Accessibility & contrast

On white

15.06
#301460 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#301460 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301460
15.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301460#FFFFFF#000000##FFFFFF
##3014601.0015.061.3915.06
#FFFFFF15.061.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002762
Deuteranopia (green-blind)
#00255F
Tritanopia (blue-blind)
#222839
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #301460;
/* rgb */ color: rgb(48, 20, 96);
/* oklch */ color: oklch(28.5% 0.125 293.7);
Tailwind
colors: {
  custom: {
    50: '#6e558e',
    500: '#301460',
    950: '#000000',
  },
}
SCSS
$custom: #301460;
$custom-light: #6e558e;
$custom-dark: #000000;
JSON
{
  "hex": "#301460",
  "rgb": {
    "r": 48,
    "g": 20,
    "b": 96
  },
  "hsl": {
    "h": 262.105,
    "s": 65.517,
    "l": 22.745
  },
  "oklch": {
    "l": 0.28479,
    "c": 0.12469,
    "h": 293.7
  },
  "luminance": 0.01973
}

Semantic roles & 50–950 ramp

primary
#301460
secondary
#749838
accent
#E83FAA
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #301460

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

Preview Lab → · Contrast checker → · Palette generator →

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