#301165#301165

#301165 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.6% C 0.134 H 292.5°. Best body text is #FFFFFF at 15.07:1 contrast (WCAG AA passes).

Color values

HEX#301165
RGBrgb(48, 17, 101)
HSLhsl(262, 71%, 23%)
HSVhsv(262, 83%, 40%)
CMYKcmyk(52.5%, 83.2%, 0%, 60.4%)
CIE-LABlab(15.32, 35.47, -43.18)
CIE-LCHlch(15.32, 55.88, 309.41°)
OKLaboklab(28.62% 0.0512 -0.124)
OKLCHoklch(28.62% 0.134 292.5)
XYZxyz(3.7677, 1.9687, 12.4909)
Luminance0.0197 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301165 #466511
analogous
#111C65 #301165 #5A1165
triadic
#301165 #653011 #116530
tetradic
#301165 #65111C #466511 #11655A
square
#301165 #65111C #466511 #11655A
split-complementary
#301165 #655A11 #1C6511
monochromatic
#0C041A #170831 #301165 #491A99 #6223CE

Accessibility & contrast

On white

15.07
#301165 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #301165
15.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301165#FFFFFF#000000##FFFFFF
##3011651.0015.071.3915.07
#FFFFFF15.071.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002767
Deuteranopia (green-blind)
#002563
Tritanopia (blue-blind)
#1F293B
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #301165;
/* rgb */ color: rgb(48, 17, 101);
/* oklch */ color: oklch(28.6% 0.134 292.5);
Tailwind
colors: {
  custom: {
    50: '#6f5392',
    500: '#301165',
    950: '#000000',
  },
}
SCSS
$custom: #301165;
$custom-light: #6f5392;
$custom-dark: #000000;
JSON
{
  "hex": "#301165",
  "rgb": {
    "r": 48,
    "g": 17,
    "b": 101
  },
  "hsl": {
    "h": 262.143,
    "s": 71.186,
    "l": 23.137
  },
  "oklch": {
    "l": 0.28616,
    "c": 0.13415,
    "h": 292.5
  },
  "luminance": 0.01969
}

Semantic roles & 50–950 ramp

primary
#301165
secondary
#779D35
accent
#EE3AAB
background
#F7F4F9
surface
#EDE7F1
border
#C8C3CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #301165

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

Preview Lab → · Contrast checker → · Palette generator →

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