#301070#301070

#301070 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.7% C 0.148 H 288.9°. Best body text is #FFFFFF at 14.65:1 contrast (WCAG AA passes).

Color values

HEX#301070
RGBrgb(48, 16, 112)
HSLhsl(260, 75%, 25%)
HSVhsv(260, 86%, 44%)
CMYKcmyk(57.1%, 85.7%, 0%, 56.1%)
CIE-LABlab(16.35, 39.11, -48.69)
CIE-LCHlch(16.35, 62.46, 308.77°)
OKLaboklab(29.68% 0.048 -0.1401)
OKLCHoklch(29.68% 0.148 288.9)
XYZxyz(4.3280, 2.1686, 15.5166)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301070 #507010
analogous
#102070 #301070 #601070
triadic
#301070 #703010 #107030
tetradic
#301070 #701020 #507010 #107060
square
#301070 #701020 #507010 #107060
split-complementary
#301070 #706010 #207010
monochromatic
#0B041B #19083A #301070 #4718A6 #5E1FDB

Accessibility & contrast

On white

14.65
#301070 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#301070 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301070
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301070#FFFFFF#000000##FFFFFF
##3010701.0014.651.4314.65
#FFFFFF14.651.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A73
Deuteranopia (green-blind)
#00266E
Tritanopia (blue-blind)
#152D41
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #301070;
/* rgb */ color: rgb(48, 16, 112);
/* oklch */ color: oklch(29.7% 0.148 288.9);
Tailwind
colors: {
  custom: {
    50: '#71549a',
    500: '#301070',
    950: '#000000',
  },
}
SCSS
$custom: #301070;
$custom-light: #71549a;
$custom-dark: #000000;
JSON
{
  "hex": "#301070",
  "rgb": {
    "r": 48,
    "g": 16,
    "b": 112
  },
  "hsl": {
    "h": 260,
    "s": 75,
    "l": 25.098
  },
  "oklch": {
    "l": 0.29683,
    "c": 0.1481,
    "h": 288.9
  },
  "luminance": 0.02169
}

Semantic roles & 50–950 ramp

primary
#301070
secondary
#81A834
accent
#F236B3
background
#F7F5F9
surface
#EDE8F2
border
#C8C4CC
text
#08030E
muted
#7B787E

Preview Lab

Preview with #301070

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

Preview Lab → · Contrast checker → · Palette generator →

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