#300833#300833

#300833 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 23.0% C 0.088 H 324.9°. Best body text is #FFFFFF at 17.38:1 contrast (WCAG AA passes).

Color values

HEX#300833
RGBrgb(48, 8, 51)
HSLhsl(296, 73%, 12%)
HSVhsv(296, 84%, 20%)
CMYKcmyk(5.9%, 84.3%, 0%, 80%)
CIE-LABlab(9.33, 26.60, -18.25)
CIE-LCHlch(9.33, 32.26, 325.54°)
OKLaboklab(22.99% 0.0724 -0.0508)
OKLCHoklch(22.99% 0.088 324.9)
XYZxyz(1.9033, 1.0412, 3.2320)
Luminance0.0104 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300833 #0B3308
analogous
#1B0833 #300833 #330821
triadic
#300833 #333008 #083330
tetradic
#300833 #331B08 #0B3308 #082133
square
#300833 #331B08 #0B3308 #082133
split-complementary
#300833 #213308 #08331B
monochromatic
#19041A #19041A #300833 #621068 #94199D

Accessibility & contrast

On white

17.38
#300833 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#300833 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #300833
17.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300833#FFFFFF#000000##FFFFFF
##3008331.0017.381.2117.38
#FFFFFF17.381.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011734
Deuteranopia (green-blind)
#111C32
Tritanopia (blue-blind)
#310F1C
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #300833;
/* rgb */ color: rgb(48, 8, 51);
/* oklch */ color: oklch(23.0% 0.088 324.9);
Tailwind
colors: {
  custom: {
    50: '#6a4c6b',
    500: '#300833',
    950: '#000000',
  },
}
SCSS
$custom: #300833;
$custom-light: #6a4c6b;
$custom-dark: #000000;
JSON
{
  "hex": "#300833",
  "rgb": {
    "r": 48,
    "g": 8,
    "b": 51
  },
  "hsl": {
    "h": 295.814,
    "s": 72.881,
    "l": 11.569
  },
  "oklch": {
    "l": 0.22993,
    "c": 0.08842,
    "h": 324.9
  },
  "luminance": 0.01041
}

Semantic roles & 50–950 ramp

primary
#300833
secondary
#2A7225
accent
#F03845
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070106
muted
#7A777A

Preview Lab

Preview with #300833

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

Preview Lab → · Contrast checker → · Palette generator →

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