#301365#301365

#301365 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.9% C 0.132 H 292.0°. Best body text is #FFFFFF at 14.93:1 contrast (WCAG AA passes).

Color values

HEX#301365
RGBrgb(48, 19, 101)
HSLhsl(261, 68%, 24%)
HSVhsv(261, 81%, 40%)
CMYKcmyk(52.5%, 81.2%, 0%, 60.4%)
CIE-LABlab(15.66, 34.49, -42.62)
CIE-LCHlch(15.66, 54.83, 308.99°)
OKLaboklab(28.85% 0.0496 -0.1224)
OKLCHoklch(28.85% 0.132 292)
XYZxyz(3.8001, 2.0336, 12.5017)
Luminance0.0203 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301365 #486513
analogous
#131F65 #301365 #591365
triadic
#301365 #653013 #136530
tetradic
#301365 #65131F #486513 #136559
square
#301365 #65131F #486513 #136559
split-complementary
#301365 #655913 #1F6513
monochromatic
#0C051A #180931 #301365 #481D99 #6126CC

Accessibility & contrast

On white

14.93
#301365 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #301365
14.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301365#FFFFFF#000000##FFFFFF
##3013651.0014.931.4114.93
#FFFFFF14.931.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002867
Deuteranopia (green-blind)
#002563
Tritanopia (blue-blind)
#1F2A3B
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #301365;
/* rgb */ color: rgb(48, 19, 101);
/* oklch */ color: oklch(28.9% 0.132 292.0);
Tailwind
colors: {
  custom: {
    50: '#6f5492',
    500: '#301365',
    950: '#000000',
  },
}
SCSS
$custom: #301365;
$custom-light: #6f5492;
$custom-dark: #000000;
JSON
{
  "hex": "#301365",
  "rgb": {
    "r": 48,
    "g": 19,
    "b": 101
  },
  "hsl": {
    "h": 261.22,
    "s": 68.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.28854,
    "c": 0.13202,
    "h": 292
  },
  "luminance": 0.02034
}

Semantic roles & 50–950 ramp

primary
#301365
secondary
#799D37
accent
#EB3DAD
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #301365

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

Preview Lab → · Contrast checker → · Palette generator →

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