#301760#301760

#301760 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 28.9% C 0.121 H 292.9°. Best body text is #FFFFFF at 14.82:1 contrast (WCAG AA passes).

Color values

HEX#301760
RGBrgb(48, 23, 96)
HSLhsl(261, 61%, 23%)
HSVhsv(261, 76%, 38%)
CMYKcmyk(50%, 76%, 0%, 62.4%)
CIE-LABlab(15.93, 30.84, -38.87)
CIE-LCHlch(15.93, 49.62, 308.44°)
OKLaboklab(28.89% 0.0471 -0.1114)
OKLCHoklch(28.89% 0.121 292.9)
XYZxyz(3.6361, 2.0856, 11.2750)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301760 #476017
analogous
#172260 #301760 #541760
triadic
#301760 #603017 #176030
tetradic
#301760 #601722 #476017 #176054
square
#301760 #601722 #476017 #176054
split-complementary
#301760 #605417 #226017
monochromatic
#0C0619 #170B2F #301760 #492391 #612FC3

Accessibility & contrast

On white

14.82
#301760 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#301760 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301760
14.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301760#FFFFFF#000000##FFFFFF
##3017601.0014.821.4214.82
#FFFFFF14.821.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #301760;
/* rgb */ color: rgb(48, 23, 96);
/* oklch */ color: oklch(28.9% 0.121 292.9);
Tailwind
colors: {
  custom: {
    50: '#6e568e',
    500: '#301760',
    950: '#000000',
  },
}
SCSS
$custom: #301760;
$custom-light: #6e568e;
$custom-dark: #000000;
JSON
{
  "hex": "#301760",
  "rgb": {
    "r": 48,
    "g": 23,
    "b": 96
  },
  "hsl": {
    "h": 260.548,
    "s": 61.345,
    "l": 23.333
  },
  "oklch": {
    "l": 0.28892,
    "c": 0.12093,
    "h": 292.9
  },
  "luminance": 0.02086
}

Semantic roles & 50–950 ramp

primary
#301760
secondary
#78973C
accent
#E443AD
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #301760

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

Preview Lab → · Contrast checker → · Palette generator →

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