#301359#301359

#301359 is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.7% C 0.117 H 296.9°. Best body text is #FFFFFF at 15.41:1 contrast (WCAG AA passes).

Color values

HEX#301359
RGBrgb(48, 19, 89)
HSLhsl(265, 65%, 21%)
HSVhsv(265, 79%, 35%)
CMYKcmyk(46.1%, 78.7%, 0%, 65.1%)
CIE-LABlab(14.49, 30.95, -36.54)
CIE-LCHlch(14.49, 47.89, 310.27°)
OKLaboklab(27.67% 0.053 -0.1045)
OKLCHoklch(27.67% 0.117 296.9)
XYZxyz(3.2545, 1.8153, 9.6282)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301359 #3C5913
analogous
#131959 #301359 #531359
triadic
#301359 #593013 #135930
tetradic
#301359 #591319 #3C5913 #135953
square
#301359 #591319 #3C5913 #135953
split-complementary
#301359 #595313 #195913
monochromatic
#0E0519 #150827 #301359 #4B1E8B #6629BE

Accessibility & contrast

On white

15.41
#301359 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#301359 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301359
15.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301359#FFFFFF#000000##FFFFFF
##3013591.0015.411.3615.41
#FFFFFF15.411.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #301359;
/* rgb */ color: rgb(48, 19, 89);
/* oklch */ color: oklch(27.7% 0.117 296.9);
Tailwind
colors: {
  custom: {
    50: '#6d5489',
    500: '#301359',
    950: '#000000',
  },
}
SCSS
$custom: #301359;
$custom-light: #6d5489;
$custom-dark: #000000;
JSON
{
  "hex": "#301359",
  "rgb": {
    "r": 48,
    "g": 19,
    "b": 89
  },
  "hsl": {
    "h": 264.857,
    "s": 64.815,
    "l": 21.176
  },
  "oklch": {
    "l": 0.27666,
    "c": 0.11718,
    "h": 296.9
  },
  "luminance": 0.01815
}

Semantic roles & 50–950 ramp

primary
#301359
secondary
#6C9137
accent
#E840A2
background
#F6F4F8
surface
#ECE7F0
border
#C7C3CB
text
#07030B
muted
#7A787C

Preview Lab

Preview with #301359

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

Preview Lab → · Contrast checker → · Palette generator →

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