#301765#301765

#301765 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.4% C 0.127 H 291.1°. Best body text is #FFFFFF at 14.62:1 contrast (WCAG AA passes).

Color values

HEX#301765
RGBrgb(48, 23, 101)
HSLhsl(259, 63%, 24%)
HSVhsv(259, 77%, 40%)
CMYKcmyk(52.5%, 77.2%, 0%, 60.4%)
CIE-LABlab(16.41, 32.38, -41.40)
CIE-LCHlch(16.41, 52.55, 308.03°)
OKLaboklab(29.38% 0.0459 -0.1188)
OKLCHoklch(29.38% 0.127 291.1)
XYZxyz(3.8736, 2.1806, 12.5262)
Luminance0.0218 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301765 #4C6517
analogous
#172565 #301765 #571765
triadic
#301765 #653017 #176530
tetradic
#301765 #651725 #4C6517 #176557
square
#301765 #651725 #4C6517 #176557
split-complementary
#301765 #655717 #256517
monochromatic
#0C0619 #180C33 #301765 #482297 #5F2EC9

Accessibility & contrast

On white

14.62
#301765 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#301765 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301765
14.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301765#FFFFFF#000000##FFFFFF
##3017651.0014.621.4414.62
#FFFFFF14.621.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A67
Deuteranopia (green-blind)
#002764
Tritanopia (blue-blind)
#1E2C3C
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #301765;
/* rgb */ color: rgb(48, 23, 101);
/* oklch */ color: oklch(29.4% 0.127 291.1);
Tailwind
colors: {
  custom: {
    50: '#6f5792',
    500: '#301765',
    950: '#000000',
  },
}
SCSS
$custom: #301765;
$custom-light: #6f5792;
$custom-dark: #000000;
JSON
{
  "hex": "#301765",
  "rgb": {
    "r": 48,
    "g": 23,
    "b": 101
  },
  "hsl": {
    "h": 259.231,
    "s": 62.903,
    "l": 24.314
  },
  "oklch": {
    "l": 0.29378,
    "c": 0.12736,
    "h": 291.1
  },
  "luminance": 0.02181
}

Semantic roles & 50–950 ramp

primary
#301765
secondary
#7D9B3C
accent
#E642B1
background
#F6F5F9
surface
#ECE9F1
border
#C7C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #301765

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

Preview Lab → · Contrast checker → · Palette generator →

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