#301367#301367

#301367 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.1% C 0.134 H 291.3°. Best body text is #FFFFFF at 14.85:1 contrast (WCAG AA passes).

Color values

HEX#301367
RGBrgb(48, 19, 103)
HSLhsl(261, 69%, 24%)
HSVhsv(261, 82%, 40%)
CMYKcmyk(53.4%, 81.6%, 0%, 59.6%)
CIE-LABlab(15.87, 35.09, -43.60)
CIE-LCHlch(15.87, 55.97, 308.83°)
OKLaboklab(29.06% 0.0489 -0.1252)
OKLCHoklch(29.06% 0.134 291.3)
XYZxyz(3.8993, 2.0732, 13.0241)
Luminance0.0207 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301367 #4A6713
analogous
#132067 #301367 #5A1367
triadic
#301367 #673013 #136730
tetradic
#301367 #671320 #4A6713 #13675A
square
#301367 #671320 #4A6713 #13675A
split-complementary
#301367 #675A13 #206713
monochromatic
#0C051A #180933 #301367 #481D9B #6026CE

Accessibility & contrast

On white

14.85
#301367 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#301367 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301367
14.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301367#FFFFFF#000000##FFFFFF
##3013671.0014.851.4114.85
#FFFFFF14.851.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002969
Deuteranopia (green-blind)
#002665
Tritanopia (blue-blind)
#1D2B3C
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #301367;
/* rgb */ color: rgb(48, 19, 103);
/* oklch */ color: oklch(29.1% 0.134 291.3);
Tailwind
colors: {
  custom: {
    50: '#6f5593',
    500: '#301367',
    950: '#000000',
  },
}
SCSS
$custom: #301367;
$custom-light: #6f5593;
$custom-dark: #000000;
JSON
{
  "hex": "#301367",
  "rgb": {
    "r": 48,
    "g": 19,
    "b": 103
  },
  "hsl": {
    "h": 260.714,
    "s": 68.852,
    "l": 23.922
  },
  "oklch": {
    "l": 0.29059,
    "c": 0.13446,
    "h": 291.3
  },
  "luminance": 0.02073
}

Semantic roles & 50–950 ramp

primary
#301367
secondary
#7B9E37
accent
#EC3CAF
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #301367

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

Preview Lab → · Contrast checker → · Palette generator →

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