#300640#300640

#300640 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.8% C 0.105 H 314.3°. Best body text is #FFFFFF at 17.13:1 contrast (WCAG AA passes).

Color values

HEX#300640
RGBrgb(48, 6, 64)
HSLhsl(283, 83%, 14%)
HSVhsv(283, 91%, 25%)
CMYKcmyk(25%, 90.6%, 0%, 74.9%)
CIE-LABlab(10.02, 30.53, -26.52)
CIE-LCHlch(10.02, 40.44, 319.02°)
OKLaboklab(23.81% 0.0731 -0.075)
OKLCHoklch(23.81% 0.105 314.3)
XYZxyz(2.2093, 1.1289, 4.9510)
Luminance0.0113 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300640 #164006
analogous
#130640 #300640 #400633
triadic
#300640 #403006 #064030
tetradic
#300640 #401306 #164006 #063340
square
#300640 #401306 #164006 #063340
split-complementary
#300640 #334006 #064013
monochromatic
#15031C #15031C #300640 #5A0B78 #8410B0

Accessibility & contrast

On white

17.13
#300640 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#300640 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #300640
17.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300640#FFFFFF#000000##FFFFFF
##3006401.0017.131.2317.13
#FFFFFF17.131.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001942
Deuteranopia (green-blind)
#021C3F
Tritanopia (blue-blind)
#2E1423
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #300640;
/* rgb */ color: rgb(48, 6, 64);
/* oklch */ color: oklch(23.8% 0.105 314.3);
Tailwind
colors: {
  custom: {
    50: '#6b4c75',
    500: '#300640',
    950: '#000000',
  },
}
SCSS
$custom: #300640;
$custom-light: #6b4c75;
$custom-dark: #000000;
JSON
{
  "hex": "#300640",
  "rgb": {
    "r": 48,
    "g": 6,
    "b": 64
  },
  "hsl": {
    "h": 283.448,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.23812,
    "c": 0.10474,
    "h": 314.3
  },
  "luminance": 0.01129
}

Semantic roles & 50–950 ramp

primary
#300640
secondary
#3C8022
accent
#F92F66
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070108
muted
#7A777B

Preview Lab

Preview with #300640

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

Preview Lab → · Contrast checker → · Palette generator →

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