#301B59#301B59

#301B59 is a dark, moderate violet. Relative luminance 0.021; OKLCH L 28.9% C 0.106 H 294.4°. Best body text is #FFFFFF at 14.72:1 contrast (WCAG AA passes).

Color values

HEX#301B59
RGBrgb(48, 27, 89)
HSLhsl(260, 53%, 23%)
HSVhsv(260, 70%, 35%)
CMYKcmyk(46.1%, 69.7%, 0%, 65.1%)
CIE-LABlab(16.17, 26.29, -33.80)
CIE-LCHlch(16.17, 42.82, 307.88°)
OKLaboklab(28.87% 0.0437 -0.0965)
OKLCHoklch(28.87% 0.106 294.4)
XYZxyz(3.4135, 2.1334, 9.6812)
Luminance0.0213 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301B59 #44591B
analogous
#1B2559 #301B59 #4F1B59
triadic
#301B59 #59301B #1B5930
tetradic
#301B59 #591B25 #44591B #1B594F
square
#301B59 #591B25 #44591B #1B594F
split-complementary
#301B59 #594F1B #25591B
monochromatic
#0D0717 #170D2A #301B59 #492988 #6337B7

Accessibility & contrast

On white

14.72
#301B59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#301B59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301B59
14.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301B59#FFFFFF#000000##FFFFFF
##301B591.0014.721.4314.72
#FFFFFF14.721.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295B
Deuteranopia (green-blind)
#002758
Tritanopia (blue-blind)
#252937
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #301b59;
/* rgb */ color: rgb(48, 27, 89);
/* oklch */ color: oklch(28.9% 0.106 294.4);
Tailwind
colors: {
  custom: {
    50: '#6c5988',
    500: '#301b59',
    950: '#000000',
  },
}
SCSS
$custom: #301b59;
$custom-light: #6c5988;
$custom-dark: #000000;
JSON
{
  "hex": "#301b59",
  "rgb": {
    "r": 48,
    "g": 27,
    "b": 89
  },
  "hsl": {
    "h": 260.323,
    "s": 53.448,
    "l": 22.745
  },
  "oklch": {
    "l": 0.28871,
    "c": 0.10595,
    "h": 294.4
  },
  "luminance": 0.02134
}

Semantic roles & 50–950 ramp

primary
#301B59
secondary
#748F41
accent
#DD4BAB
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#07030B
muted
#7A787C

Preview Lab

Preview with #301B59

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

Preview Lab → · Contrast checker → · Palette generator →

#301B59 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva