#301B69#301B69

#301B69 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.3% C 0.128 H 288.8°. Best body text is #FFFFFF at 14.13:1 contrast (WCAG AA passes).

Color values

HEX#301B69
RGBrgb(48, 27, 105)
HSLhsl(256, 59%, 26%)
HSVhsv(256, 74%, 41%)
CMYKcmyk(54.3%, 74.3%, 0%, 58.8%)
CIE-LABlab(17.61, 31.34, -42.06)
CIE-LCHlch(17.61, 52.45, 306.69°)
OKLaboklab(30.35% 0.041 -0.1208)
OKLCHoklch(30.35% 0.128 288.8)
XYZxyz(4.1599, 2.4320, 13.6121)
Luminance0.0243 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301B69 #54691B
analogous
#1B2D69 #301B69 #571B69
triadic
#301B69 #69301B #1B6930
tetradic
#301B69 #691B2D #54691B #1B6957
square
#301B69 #691B2D #54691B #1B6957
split-complementary
#301B69 #69571B #2D691B
monochromatic
#0B0618 #1A0E38 #301B69 #46289A #5D34CA

Accessibility & contrast

On white

14.13
#301B69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#301B69 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301B69
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301B69#FFFFFF#000000##FFFFFF
##301B691.0014.131.4914.13
#FFFFFF14.131.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6B
Deuteranopia (green-blind)
#002967
Tritanopia (blue-blind)
#1B2F40
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #301b69;
/* rgb */ color: rgb(48, 27, 105);
/* oklch */ color: oklch(30.3% 0.128 288.8);
Tailwind
colors: {
  custom: {
    50: '#6f5995',
    500: '#301b69',
    950: '#000000',
  },
}
SCSS
$custom: #301b69;
$custom-light: #6f5995;
$custom-dark: #000000;
JSON
{
  "hex": "#301b69",
  "rgb": {
    "r": 48,
    "g": 27,
    "b": 105
  },
  "hsl": {
    "h": 256.154,
    "s": 59.091,
    "l": 25.882
  },
  "oklch": {
    "l": 0.30348,
    "c": 0.12756,
    "h": 288.8
  },
  "luminance": 0.02432
}

Semantic roles & 50–950 ramp

primary
#301B69
secondary
#859E42
accent
#E246B8
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040D
muted
#7B797E

Preview Lab

Preview with #301B69

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

Preview Lab → · Contrast checker → · Palette generator →

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