#301753#301753

#301753 is a dark, moderate violet. Relative luminance 0.019; OKLCH L 27.7% C 0.104 H 298.5°. Best body text is #FFFFFF at 15.29:1 contrast (WCAG AA passes).

Color values

HEX#301753
RGBrgb(48, 23, 83)
HSLhsl(265, 57%, 21%)
HSVhsv(265, 72%, 33%)
CMYKcmyk(42.2%, 72.3%, 0%, 67.5%)
CIE-LABlab(14.77, 26.90, -32.03)
CIE-LCHlch(14.77, 41.83, 310.03°)
OKLaboklab(27.7% 0.0495 -0.0913)
OKLCHoklch(27.7% 0.104 298.5)
XYZxyz(3.0863, 1.8657, 8.3794)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301753 #3A5317
analogous
#171C53 #301753 #4E1753
triadic
#301753 #533017 #175330
tetradic
#301753 #53171C #3A5317 #17534E
square
#301753 #53171C #3A5317 #17534E
split-complementary
#301753 #534E17 #1C5317
monochromatic
#0E0718 #140A23 #301753 #4C2483 #6732B3

Accessibility & contrast

On white

15.29
#301753 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#301753 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301753
15.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301753#FFFFFF#000000##FFFFFF
##3017531.0015.291.3715.29
#FFFFFF15.291.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002555
Deuteranopia (green-blind)
#002552
Tritanopia (blue-blind)
#282532
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #301753;
/* rgb */ color: rgb(48, 23, 83);
/* oklch */ color: oklch(27.7% 0.104 298.5);
Tailwind
colors: {
  custom: {
    50: '#6c5684',
    500: '#301753',
    950: '#000000',
  },
}
SCSS
$custom: #301753;
$custom-light: #6c5684;
$custom-dark: #000000;
JSON
{
  "hex": "#301753",
  "rgb": {
    "r": 48,
    "g": 23,
    "b": 83
  },
  "hsl": {
    "h": 265,
    "s": 56.604,
    "l": 20.784
  },
  "oklch": {
    "l": 0.27697,
    "c": 0.10386,
    "h": 298.5
  },
  "luminance": 0.01866
}

Semantic roles & 50–950 ramp

primary
#301753
secondary
#698A3C
accent
#E048A1
background
#F6F5F8
surface
#ECE9EF
border
#C7C5CA
text
#07030B
muted
#7A787C

Preview Lab

Preview with #301753

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

Preview Lab → · Contrast checker → · Palette generator →

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