#301761#301761

#301761 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.0% C 0.122 H 292.5°. Best body text is #FFFFFF at 14.78:1 contrast (WCAG AA passes).

Color values

HEX#301761
RGBrgb(48, 23, 97)
HSLhsl(260, 62%, 24%)
HSVhsv(260, 76%, 38%)
CMYKcmyk(50.5%, 76.3%, 0%, 62%)
CIE-LABlab(16.02, 31.15, -39.38)
CIE-LCHlch(16.02, 50.21, 308.35°)
OKLaboklab(28.99% 0.0469 -0.1129)
OKLCHoklch(28.99% 0.122 292.5)
XYZxyz(3.6824, 2.1041, 11.5191)
Luminance0.0210 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301761 #486117
analogous
#172361 #301761 #551761
triadic
#301761 #613017 #176130
tetradic
#301761 #611723 #486117 #176155
square
#301761 #611723 #486117 #176155
split-complementary
#301761 #615517 #236117
monochromatic
#0C0619 #180B30 #301761 #482392 #612EC4

Accessibility & contrast

On white

14.78
#301761 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #301761
14.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301761#FFFFFF#000000##FFFFFF
##3017611.0014.781.4214.78
#FFFFFF14.781.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002963
Deuteranopia (green-blind)
#002660
Tritanopia (blue-blind)
#212A3A
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #301761;
/* rgb */ color: rgb(48, 23, 97);
/* oklch */ color: oklch(29.0% 0.122 292.5);
Tailwind
colors: {
  custom: {
    50: '#6e568f',
    500: '#301761',
    950: '#000000',
  },
}
SCSS
$custom: #301761;
$custom-light: #6e568f;
$custom-dark: #000000;
JSON
{
  "hex": "#301761",
  "rgb": {
    "r": 48,
    "g": 23,
    "b": 97
  },
  "hsl": {
    "h": 260.27,
    "s": 61.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.28988,
    "c": 0.12223,
    "h": 292.5
  },
  "luminance": 0.02104
}

Semantic roles & 50–950 ramp

primary
#301761
secondary
#79983C
accent
#E543AE
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #301761

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

Preview Lab → · Contrast checker → · Palette generator →

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