#300231#300231

#300231 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.1% C 0.097 H 327.3°. Best body text is #FFFFFF at 17.81:1 contrast (WCAG AA passes).

Color values

HEX#300231
RGBrgb(48, 2, 49)
HSLhsl(299, 92%, 10%)
HSVhsv(299, 96%, 19%)
CMYKcmyk(2%, 95.9%, 0%, 80.8%)
CIE-LABlab(8.07, 29.39, -18.79)
CIE-LCHlch(8.07, 34.88, 327.41°)
OKLaboklab(22.05% 0.0815 -0.0523)
OKLCHoklch(22.05% 0.097 327.3)
XYZxyz(1.7950, 0.8937, 2.9831)
Luminance0.0089 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300231 #033102
analogous
#180231 #300231 #31021B
triadic
#300231 #313002 #023130
tetradic
#300231 #311802 #033102 #021B31
square
#300231 #311802 #033102 #021B31
split-complementary
#300231 #1B3102 #023118
monochromatic
#1D011D #1D011D #300231 #6A046C #A307A7

Accessibility & contrast

On white

17.81
#300231 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#300231 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #300231
17.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300231#FFFFFF#000000##FFFFFF
##3002311.0017.811.1817.81
#FFFFFF17.811.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001432
Deuteranopia (green-blind)
#0E1A30
Tritanopia (blue-blind)
#320919
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #300231;
/* rgb */ color: rgb(48, 2, 49);
/* oklch */ color: oklch(22.1% 0.097 327.3);
Tailwind
colors: {
  custom: {
    50: '#6b4869',
    500: '#300231',
    950: '#000000',
  },
}
SCSS
$custom: #300231;
$custom-light: #6b4869;
$custom-dark: #000000;
JSON
{
  "hex": "#300231",
  "rgb": {
    "r": 48,
    "g": 2,
    "b": 49
  },
  "hsl": {
    "h": 298.723,
    "s": 92.157,
    "l": 10
  },
  "oklch": {
    "l": 0.22052,
    "c": 0.09679,
    "h": 327.3
  },
  "luminance": 0.00894
}

Semantic roles & 50–950 ramp

primary
#300231
secondary
#1B7519
accent
#FF292D
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070106
muted
#7A777A

Preview Lab

Preview with #300231

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

Preview Lab → · Contrast checker → · Palette generator →

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