#301769#301769

#301769 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 29.8% C 0.132 H 289.8°. Best body text is #FFFFFF at 14.46:1 contrast (WCAG AA passes).

Color values

HEX#301769
RGBrgb(48, 23, 105)
HSLhsl(258, 64%, 25%)
HSVhsv(258, 78%, 41%)
CMYKcmyk(54.3%, 78.1%, 0%, 58.8%)
CIE-LABlab(16.80, 33.61, -43.38)
CIE-LCHlch(16.80, 54.88, 307.76°)
OKLaboklab(29.78% 0.0448 -0.1246)
OKLCHoklch(29.78% 0.132 289.8)
XYZxyz(4.0744, 2.2609, 13.5836)
Luminance0.0226 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301769 #506917
analogous
#172769 #301769 #591769
triadic
#301769 #693017 #176930
tetradic
#301769 #691727 #506917 #176959
square
#301769 #691727 #506917 #176959
split-complementary
#301769 #695917 #276917
monochromatic
#0B0519 #190C37 #301769 #47229B #5E2DCD

Accessibility & contrast

On white

14.46
#301769 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#301769 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301769
14.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301769#FFFFFF#000000##FFFFFF
##3017691.0014.461.4514.46
#FFFFFF14.461.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B6B
Deuteranopia (green-blind)
#002767
Tritanopia (blue-blind)
#1B2D3F
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #301769;
/* rgb */ color: rgb(48, 23, 105);
/* oklch */ color: oklch(29.8% 0.132 289.8);
Tailwind
colors: {
  custom: {
    50: '#6f5795',
    500: '#301769',
    950: '#000000',
  },
}
SCSS
$custom: #301769;
$custom-light: #6f5795;
$custom-dark: #000000;
JSON
{
  "hex": "#301769",
  "rgb": {
    "r": 48,
    "g": 23,
    "b": 105
  },
  "hsl": {
    "h": 258.293,
    "s": 64.063,
    "l": 25.098
  },
  "oklch": {
    "l": 0.29776,
    "c": 0.13245,
    "h": 289.8
  },
  "luminance": 0.02261
}

Semantic roles & 50–950 ramp

primary
#301769
secondary
#819F3D
accent
#E741B4
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030D
muted
#7B787E

Preview Lab

Preview with #301769

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

Preview Lab → · Contrast checker → · Palette generator →

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