#301667#301667

#301667 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.4% C 0.131 H 290.7°. Best body text is #FFFFFF at 14.62:1 contrast (WCAG AA passes).

Color values

HEX#301667
RGBrgb(48, 22, 103)
HSLhsl(259, 65%, 25%)
HSVhsv(259, 79%, 40%)
CMYKcmyk(53.4%, 78.6%, 0%, 59.6%)
CIE-LABlab(16.41, 33.53, -42.71)
CIE-LCHlch(16.41, 54.30, 308.14°)
OKLaboklab(29.44% 0.0463 -0.1226)
OKLCHoklch(29.44% 0.131 290.7)
XYZxyz(3.9533, 2.1813, 13.0421)
Luminance0.0218 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301667 #4D6716
analogous
#162567 #301667 #591667
triadic
#301667 #673016 #166730
tetradic
#301667 #671625 #4D6716 #166759
square
#301667 #671625 #4D6716 #166759
split-complementary
#301667 #675916 #256716
monochromatic
#0C0519 #180B35 #301667 #482199 #5F2CCC

Accessibility & contrast

On white

14.62
#301667 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#301667 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301667
14.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301667#FFFFFF#000000##FFFFFF
##3016671.0014.621.4414.62
#FFFFFF14.621.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A69
Deuteranopia (green-blind)
#002765
Tritanopia (blue-blind)
#1D2C3D
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #301667;
/* rgb */ color: rgb(48, 22, 103);
/* oklch */ color: oklch(29.4% 0.131 290.7);
Tailwind
colors: {
  custom: {
    50: '#6f5693',
    500: '#301667',
    950: '#000000',
  },
}
SCSS
$custom: #301667;
$custom-light: #6f5693;
$custom-dark: #000000;
JSON
{
  "hex": "#301667",
  "rgb": {
    "r": 48,
    "g": 22,
    "b": 103
  },
  "hsl": {
    "h": 259.259,
    "s": 64.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.29441,
    "c": 0.1311,
    "h": 290.7
  },
  "luminance": 0.02181
}

Semantic roles & 50–950 ramp

primary
#301667
secondary
#7E9E3B
accent
#E840B2
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #301667

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

Preview Lab → · Contrast checker → · Palette generator →

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