#301462#301462

#301462 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.7% C 0.127 H 292.9°. Best body text is #FFFFFF at 14.98:1 contrast (WCAG AA passes).

Color values

HEX#301462
RGBrgb(48, 20, 98)
HSLhsl(262, 66%, 23%)
HSVhsv(262, 80%, 38%)
CMYKcmyk(51%, 79.6%, 0%, 61.6%)
CIE-LABlab(15.54, 33.09, -40.83)
CIE-LCHlch(15.54, 52.55, 309.02°)
OKLaboklab(28.68% 0.0495 -0.1171)
OKLCHoklch(28.68% 0.127 292.9)
XYZxyz(3.6731, 2.0104, 11.7474)
Luminance0.0201 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301462 #466214
analogous
#141F62 #301462 #571462
triadic
#301462 #623014 #146230
tetradic
#301462 #62141F #466214 #146257
square
#301462 #62141F #466214 #146257
split-complementary
#301462 #625714 #1F6214
monochromatic
#0C0519 #170A2F #301462 #491E95 #6229C8

Accessibility & contrast

On white

14.98
#301462 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#301462 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301462
14.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301462#FFFFFF#000000##FFFFFF
##3014621.0014.981.4014.98
#FFFFFF14.981.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002864
Deuteranopia (green-blind)
#002561
Tritanopia (blue-blind)
#20293A
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #301462;
/* rgb */ color: rgb(48, 20, 98);
/* oklch */ color: oklch(28.7% 0.127 292.9);
Tailwind
colors: {
  custom: {
    50: '#6e558f',
    500: '#301462',
    950: '#000000',
  },
}
SCSS
$custom: #301462;
$custom-light: #6e558f;
$custom-dark: #000000;
JSON
{
  "hex": "#301462",
  "rgb": {
    "r": 48,
    "g": 20,
    "b": 98
  },
  "hsl": {
    "h": 261.538,
    "s": 66.102,
    "l": 23.137
  },
  "oklch": {
    "l": 0.28677,
    "c": 0.12718,
    "h": 292.9
  },
  "luminance": 0.02011
}

Semantic roles & 50–950 ramp

primary
#301462
secondary
#779938
accent
#E93FAC
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #301462

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

Preview Lab → · Contrast checker → · Palette generator →

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