#301653#301653

#301653 is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.5% C 0.105 H 298.8°. Best body text is #FFFFFF at 15.38:1 contrast (WCAG AA passes).

Color values

HEX#301653
RGBrgb(48, 22, 83)
HSLhsl(266, 58%, 21%)
HSVhsv(266, 73%, 33%)
CMYKcmyk(42.2%, 73.5%, 0%, 67.5%)
CIE-LABlab(14.55, 27.50, -32.38)
CIE-LCHlch(14.55, 42.48, 310.34°)
OKLaboklab(27.54% 0.0508 -0.0923)
OKLCHoklch(27.54% 0.105 298.8)
XYZxyz(3.0668, 1.8267, 8.3729)
Luminance0.0183 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301653 #395316
analogous
#161A53 #301653 #4E1653
triadic
#301653 #533016 #165330
tetradic
#301653 #53161A #395316 #16534E
square
#301653 #53161A #395316 #16534E
split-complementary
#301653 #534E16 #1A5316
monochromatic
#0E0618 #140923 #301653 #4C2383 #6830B4

Accessibility & contrast

On white

15.38
#301653 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #301653
15.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301653#FFFFFF#000000##FFFFFF
##3016531.0015.381.3715.38
#FFFFFF15.381.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #301653;
/* rgb */ color: rgb(48, 22, 83);
/* oklch */ color: oklch(27.5% 0.105 298.8);
Tailwind
colors: {
  custom: {
    50: '#6c5584',
    500: '#301653',
    950: '#000000',
  },
}
SCSS
$custom: #301653;
$custom-light: #6c5584;
$custom-dark: #000000;
JSON
{
  "hex": "#301653",
  "rgb": {
    "r": 48,
    "g": 22,
    "b": 83
  },
  "hsl": {
    "h": 265.574,
    "s": 58.095,
    "l": 20.588
  },
  "oklch": {
    "l": 0.27542,
    "c": 0.10535,
    "h": 298.8
  },
  "luminance": 0.01827
}

Semantic roles & 50–950 ramp

primary
#301653
secondary
#688A3A
accent
#E1469F
background
#F6F5F8
surface
#ECE9EF
border
#C7C5CA
text
#07030B
muted
#7A787C

Preview Lab

Preview with #301653

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

Preview Lab → · Contrast checker → · Palette generator →

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