#301065#301065

#301065 is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.5% C 0.135 H 292.6°. Best body text is #FFFFFF at 15.13:1 contrast (WCAG AA passes).

Color values

HEX#301065
RGBrgb(48, 16, 101)
HSLhsl(263, 73%, 23%)
HSVhsv(263, 84%, 40%)
CMYKcmyk(52.5%, 84.2%, 0%, 60.4%)
CIE-LABlab(15.16, 35.94, -43.44)
CIE-LCHlch(15.16, 56.38, 309.60°)
OKLaboklab(28.5% 0.052 -0.1247)
OKLCHoklch(28.5% 0.135 292.6)
XYZxyz(3.7525, 1.9384, 12.4858)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301065 #456510
analogous
#101A65 #301065 #5A1065
triadic
#301065 #653010 #106530
tetradic
#301065 #65101A #456510 #10655A
square
#301065 #65101A #456510 #10655A
split-complementary
#301065 #655A10 #1A6510
monochromatic
#0D041A #170830 #301065 #49189A #6221CF

Accessibility & contrast

On white

15.13
#301065 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #301065
15.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301065#FFFFFF#000000##FFFFFF
##3010651.0015.131.3915.13
#FFFFFF15.131.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #301065;
/* rgb */ color: rgb(48, 16, 101);
/* oklch */ color: oklch(28.5% 0.135 292.6);
Tailwind
colors: {
  custom: {
    50: '#6f5392',
    500: '#301065',
    950: '#000000',
  },
}
SCSS
$custom: #301065;
$custom-light: #6f5392;
$custom-dark: #000000;
JSON
{
  "hex": "#301065",
  "rgb": {
    "r": 48,
    "g": 16,
    "b": 101
  },
  "hsl": {
    "h": 262.588,
    "s": 72.65,
    "l": 22.941
  },
  "oklch": {
    "l": 0.28504,
    "c": 0.13517,
    "h": 292.6
  },
  "luminance": 0.01939
}

Semantic roles & 50–950 ramp

primary
#301065
secondary
#769D33
accent
#EF38AA
background
#F7F4F9
surface
#EDE7F1
border
#C8C3CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #301065

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

Preview Lab → · Contrast checker → · Palette generator →

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