#301362#301362

#301362 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.5% C 0.128 H 293.2°. Best body text is #FFFFFF at 15.05:1 contrast (WCAG AA passes).

Color values

HEX#301362
RGBrgb(48, 19, 98)
HSLhsl(262, 68%, 23%)
HSVhsv(262, 81%, 38%)
CMYKcmyk(51%, 80.6%, 0%, 61.6%)
CIE-LABlab(15.36, 33.61, -41.13)
CIE-LCHlch(15.36, 53.11, 309.25°)
OKLaboklab(28.55% 0.0505 -0.118)
OKLCHoklch(28.55% 0.128 293.2)
XYZxyz(3.6558, 1.9758, 11.7417)
Luminance0.0198 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301362 #456213
analogous
#131E62 #301362 #571362
triadic
#301362 #623013 #136230
tetradic
#301362 #62131E #456213 #136257
square
#301362 #62131E #456213 #136257
split-complementary
#301362 #625713 #1E6213
monochromatic
#0D051A #17092F #301362 #491D95 #6227C9

Accessibility & contrast

On white

15.05
#301362 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#301362 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301362
15.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301362#FFFFFF#000000##FFFFFF
##3013621.0015.051.4015.05
#FFFFFF15.051.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002764
Deuteranopia (green-blind)
#002561
Tritanopia (blue-blind)
#20293A
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #301362;
/* rgb */ color: rgb(48, 19, 98);
/* oklch */ color: oklch(28.5% 0.128 293.2);
Tailwind
colors: {
  custom: {
    50: '#6e548f',
    500: '#301362',
    950: '#000000',
  },
}
SCSS
$custom: #301362;
$custom-light: #6e548f;
$custom-dark: #000000;
JSON
{
  "hex": "#301362",
  "rgb": {
    "r": 48,
    "g": 19,
    "b": 98
  },
  "hsl": {
    "h": 262.025,
    "s": 67.521,
    "l": 22.941
  },
  "oklch": {
    "l": 0.28549,
    "c": 0.12834,
    "h": 293.2
  },
  "luminance": 0.01976
}

Semantic roles & 50–950 ramp

primary
#301362
secondary
#769A37
accent
#EA3DAB
background
#F6F5F8
surface
#ECE8F0
border
#C7C4CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #301362

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

Preview Lab → · Contrast checker → · Palette generator →

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