#300634#300634

#300634 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.8% C 0.093 H 324.2°. Best body text is #FFFFFF at 17.48:1 contrast (WCAG AA passes).

Color values

HEX#300634
RGBrgb(48, 6, 52)
HSLhsl(295, 79%, 11%)
HSVhsv(295, 88%, 20%)
CMYKcmyk(7.7%, 88.5%, 0%, 79.6%)
CIE-LABlab(9.05, 27.83, -19.44)
CIE-LCHlch(9.05, 33.94, 325.07°)
OKLaboklab(22.82% 0.0751 -0.0542)
OKLCHoklch(22.82% 0.093 324.2)
XYZxyz(1.9038, 1.0067, 3.3422)
Luminance0.0101 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300634 #0A3406
analogous
#190634 #300634 #340621
triadic
#300634 #343006 #063430
tetradic
#300634 #341906 #0A3406 #062134
square
#300634 #341906 #0A3406 #062134
split-complementary
#300634 #213406 #063419
monochromatic
#19031B #19031B #300634 #630C6B #9513A2

Accessibility & contrast

On white

17.48
#300634 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#300634 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #300634
17.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300634#FFFFFF#000000##FFFFFF
##3006341.0017.481.2017.48
#FFFFFF17.481.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001635
Deuteranopia (green-blind)
#0F1B33
Tritanopia (blue-blind)
#310E1C
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #300634;
/* rgb */ color: rgb(48, 6, 52);
/* oklch */ color: oklch(22.8% 0.093 324.2);
Tailwind
colors: {
  custom: {
    50: '#6a4b6c',
    500: '#300634',
    950: '#000000',
  },
}
SCSS
$custom: #300634;
$custom-light: #6a4b6c;
$custom-dark: #000000;
JSON
{
  "hex": "#300634",
  "rgb": {
    "r": 48,
    "g": 6,
    "b": 52
  },
  "hsl": {
    "h": 294.783,
    "s": 79.31,
    "l": 11.373
  },
  "oklch": {
    "l": 0.22815,
    "c": 0.09265,
    "h": 324.2
  },
  "luminance": 0.01007
}

Semantic roles & 50–950 ramp

primary
#300634
secondary
#297421
accent
#F63243
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070107
muted
#7A777A

Preview Lab

Preview with #300634

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

Preview Lab → · Contrast checker → · Palette generator →

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