#301066#301066

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

Color values

HEX#301066
RGBrgb(48, 16, 102)
HSLhsl(262, 73%, 23%)
HSVhsv(262, 84%, 40%)
CMYKcmyk(52.9%, 84.3%, 0%, 60%)
CIE-LABlab(15.27, 36.23, -43.93)
CIE-LCHlch(15.27, 56.94, 309.51°)
OKLaboklab(28.61% 0.0517 -0.1262)
OKLCHoklch(28.61% 0.136 292.3)
XYZxyz(3.8018, 1.9581, 12.7454)
Luminance0.0196 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301066 #466610
analogous
#101B66 #301066 #5B1066
triadic
#301066 #663010 #106630
tetradic
#301066 #66101B #466610 #10665B
square
#301066 #66101B #466610 #10665B
split-complementary
#301066 #665B10 #1B6610
monochromatic
#0C041A #170831 #301066 #49189B #6221D0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##301066#FFFFFF#000000##FFFFFF
##3010661.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)
#002768
Deuteranopia (green-blind)
#002464
Tritanopia (blue-blind)
#1E293B
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #301066;
/* rgb */ color: rgb(48, 16, 102);
/* oklch */ color: oklch(28.6% 0.136 292.3);
Tailwind
colors: {
  custom: {
    50: '#6f5393',
    500: '#301066',
    950: '#000000',
  },
}
SCSS
$custom: #301066;
$custom-light: #6f5393;
$custom-dark: #000000;
JSON
{
  "hex": "#301066",
  "rgb": {
    "r": 48,
    "g": 16,
    "b": 102
  },
  "hsl": {
    "h": 262.326,
    "s": 72.881,
    "l": 23.137
  },
  "oklch": {
    "l": 0.28609,
    "c": 0.13635,
    "h": 292.3
  },
  "luminance": 0.01958
}

Semantic roles & 50–950 ramp

primary
#301066
secondary
#779E33
accent
#F038AB
background
#F7F4F9
surface
#EDE7F1
border
#C8C3CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #301066

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

Preview Lab → · Contrast checker → · Palette generator →

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