#301059#301059

#301059 is a dark, vivid violet. Relative luminance 0.017; OKLCH L 27.3% C 0.121 H 297.6°. Best body text is #FFFFFF at 15.62:1 contrast (WCAG AA passes).

Color values

HEX#301059
RGBrgb(48, 16, 89)
HSLhsl(266, 70%, 21%)
HSVhsv(266, 82%, 35%)
CMYKcmyk(46.1%, 82%, 0%, 65.1%)
CIE-LABlab(13.94, 32.50, -37.43)
CIE-LCHlch(13.94, 49.56, 310.97°)
OKLaboklab(27.28% 0.056 -0.1071)
OKLCHoklch(27.28% 0.121 297.6)
XYZxyz(3.2069, 1.7202, 9.6123)
Luminance0.0172 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301059 #395910
analogous
#101559 #301059 #541059
triadic
#301059 #593010 #105930
tetradic
#301059 #591015 #395910 #105954
square
#301059 #591015 #395910 #105954
split-complementary
#301059 #595410 #155910
monochromatic
#0E051A #140725 #301059 #4C198D #6823C1

Accessibility & contrast

On white

15.62
#301059 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#301059 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301059
15.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301059#FFFFFF#000000##FFFFFF
##3010591.0015.621.3415.62
#FFFFFF15.621.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00245B
Deuteranopia (green-blind)
#002358
Tritanopia (blue-blind)
#252434
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #301059;
/* rgb */ color: rgb(48, 16, 89);
/* oklch */ color: oklch(27.3% 0.121 297.6);
Tailwind
colors: {
  custom: {
    50: '#6d5289',
    500: '#301059',
    950: '#000000',
  },
}
SCSS
$custom: #301059;
$custom-light: #6d5289;
$custom-dark: #000000;
JSON
{
  "hex": "#301059",
  "rgb": {
    "r": 48,
    "g": 16,
    "b": 89
  },
  "hsl": {
    "h": 266.301,
    "s": 69.524,
    "l": 20.588
  },
  "oklch": {
    "l": 0.27284,
    "c": 0.12085,
    "h": 297.6
  },
  "luminance": 0.0172
}

Semantic roles & 50–950 ramp

primary
#301059
secondary
#689233
accent
#EC3B9F
background
#F6F4F8
surface
#ECE7F0
border
#C7C3CB
text
#07020B
muted
#7A787C

Preview Lab

Preview with #301059

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

Preview Lab → · Contrast checker → · Palette generator →

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