#301361#301361

#301361 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.4% C 0.127 H 293.5°. Best body text is #FFFFFF at 15.09:1 contrast (WCAG AA passes).

Color values

HEX#301361
RGBrgb(48, 19, 97)
HSLhsl(262, 67%, 23%)
HSVhsv(262, 80%, 38%)
CMYKcmyk(50.5%, 80.4%, 0%, 62%)
CIE-LABlab(15.26, 33.31, -40.63)
CIE-LCHlch(15.26, 52.54, 309.35°)
OKLaboklab(28.45% 0.0508 -0.1165)
OKLCHoklch(28.45% 0.127 293.5)
XYZxyz(3.6089, 1.9571, 11.4945)
Luminance0.0196 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301361 #446113
analogous
#131D61 #301361 #571361
triadic
#301361 #613013 #136130
tetradic
#301361 #61131D #446113 #136157
square
#301361 #61131D #446113 #136157
split-complementary
#301361 #615713 #1D6113
monochromatic
#0D051A #17092E #301361 #491D94 #6327C7

Accessibility & contrast

On white

15.09
#301361 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#301361 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301361
15.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301361#FFFFFF#000000##FFFFFF
##3013611.0015.091.3915.09
#FFFFFF15.091.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002763
Deuteranopia (green-blind)
#002560
Tritanopia (blue-blind)
#212839
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #301361;
/* rgb */ color: rgb(48, 19, 97);
/* oklch */ color: oklch(28.4% 0.127 293.5);
Tailwind
colors: {
  custom: {
    50: '#6e548f',
    500: '#301361',
    950: '#000000',
  },
}
SCSS
$custom: #301361;
$custom-light: #6e548f;
$custom-dark: #000000;
JSON
{
  "hex": "#301361",
  "rgb": {
    "r": 48,
    "g": 19,
    "b": 97
  },
  "hsl": {
    "h": 262.308,
    "s": 67.241,
    "l": 22.745
  },
  "oklch": {
    "l": 0.28449,
    "c": 0.12711,
    "h": 293.5
  },
  "luminance": 0.01957
}

Semantic roles & 50–950 ramp

primary
#301361
secondary
#749937
accent
#EA3EAA
background
#F6F5F8
surface
#ECE8F0
border
#C7C4CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #301361

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

Preview Lab → · Contrast checker → · Palette generator →

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