#301860#301860

#301860 is a dark, moderate violet. Relative luminance 0.021; OKLCH L 29.0% C 0.120 H 292.6°. Best body text is #FFFFFF at 14.73:1 contrast (WCAG AA passes).

Color values

HEX#301860
RGBrgb(48, 24, 96)
HSLhsl(260, 60%, 24%)
HSVhsv(260, 75%, 38%)
CMYKcmyk(50%, 75%, 0%, 62.4%)
CIE-LABlab(16.14, 30.27, -38.53)
CIE-LCHlch(16.14, 49.00, 308.15°)
OKLaboklab(29.04% 0.046 -0.1104)
OKLCHoklch(29.04% 0.12 292.6)
XYZxyz(3.6563, 2.1261, 11.2818)
Luminance0.0213 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301860 #486018
analogous
#182460 #301860 #541860
triadic
#301860 #603018 #186030
tetradic
#301860 #601824 #486018 #186054
square
#301860 #601824 #486018 #186054
split-complementary
#301860 #605418 #246018
monochromatic
#0C0618 #180C2F #301860 #482491 #6130C2

Accessibility & contrast

On white

14.73
#301860 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #301860
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301860#FFFFFF#000000##FFFFFF
##3018601.0014.731.4314.73
#FFFFFF14.731.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002962
Deuteranopia (green-blind)
#00275F
Tritanopia (blue-blind)
#212A3A
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #301860;
/* rgb */ color: rgb(48, 24, 96);
/* oklch */ color: oklch(29.0% 0.120 292.6);
Tailwind
colors: {
  custom: {
    50: '#6e578e',
    500: '#301860',
    950: '#000000',
  },
}
SCSS
$custom: #301860;
$custom-light: #6e578e;
$custom-dark: #000000;
JSON
{
  "hex": "#301860",
  "rgb": {
    "r": 48,
    "g": 24,
    "b": 96
  },
  "hsl": {
    "h": 260,
    "s": 60,
    "l": 23.529
  },
  "oklch": {
    "l": 0.29038,
    "c": 0.11962,
    "h": 292.6
  },
  "luminance": 0.02126
}

Semantic roles & 50–950 ramp

primary
#301860
secondary
#79963D
accent
#E345AE
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#07030C
muted
#7A787D

Preview Lab

Preview with #301860

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

Preview Lab → · Contrast checker → · Palette generator →

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