#301068#301068

#301068 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.8% C 0.139 H 291.6°. Best body text is #FFFFFF at 15.00:1 contrast (WCAG AA passes).

Color values

HEX#301068
RGBrgb(48, 16, 104)
HSLhsl(262, 73%, 24%)
HSVhsv(262, 85%, 41%)
CMYKcmyk(53.8%, 84.6%, 0%, 59.2%)
CIE-LABlab(15.48, 36.81, -44.90)
CIE-LCHlch(15.48, 58.06, 309.34°)
OKLaboklab(28.82% 0.051 -0.129)
OKLCHoklch(28.82% 0.139 291.6)
XYZxyz(3.9022, 1.9983, 13.2741)
Luminance0.0200 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301068 #486810
analogous
#101C68 #301068 #5C1068
triadic
#301068 #683010 #106830
tetradic
#301068 #68101C #486810 #10685C
square
#301068 #68101C #486810 #10685C
split-complementary
#301068 #685C10 #1C6810
monochromatic
#0C041B #180833 #301068 #48189D #6120D2

Accessibility & contrast

On white

15.00
#301068 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #301068
15.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301068#FFFFFF#000000##FFFFFF
##3010681.0015.001.4015.00
#FFFFFF15.001.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00286A
Deuteranopia (green-blind)
#002566
Tritanopia (blue-blind)
#1D2A3C
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #301068;
/* rgb */ color: rgb(48, 16, 104);
/* oklch */ color: oklch(28.8% 0.139 291.6);
Tailwind
colors: {
  custom: {
    50: '#705394',
    500: '#301068',
    950: '#000000',
  },
}
SCSS
$custom: #301068;
$custom-light: #705394;
$custom-dark: #000000;
JSON
{
  "hex": "#301068",
  "rgb": {
    "r": 48,
    "g": 16,
    "b": 104
  },
  "hsl": {
    "h": 261.818,
    "s": 73.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.2882,
    "c": 0.13871,
    "h": 291.6
  },
  "luminance": 0.01998
}

Semantic roles & 50–950 ramp

primary
#301068
secondary
#79A034
accent
#F038AD
background
#F7F4F9
surface
#EDE7F1
border
#C8C3CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #301068

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

Preview Lab → · Contrast checker → · Palette generator →

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