#300230#300230

#300230 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.0% C 0.096 H 328.3°. Best body text is #FFFFFF at 17.84:1 contrast (WCAG AA passes).

Color values

HEX#300230
RGBrgb(48, 2, 48)
HSLhsl(300, 92%, 10%)
HSVhsv(300, 96%, 19%)
CMYKcmyk(0%, 95.8%, 0%, 81.2%)
CIE-LABlab(8.00, 29.20, -18.17)
CIE-LCHlch(8.00, 34.39, 328.11°)
OKLaboklab(21.98% 0.0816 -0.0505)
OKLCHoklch(21.98% 0.096 328.3)
XYZxyz(1.7741, 0.8853, 2.8732)
Luminance0.0089 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300230 #023002
analogous
#190230 #300230 #300219
triadic
#300230 #303002 #023030
tetradic
#300230 #301902 #023002 #021930
square
#300230 #301902 #023002 #021930
split-complementary
#300230 #193002 #023019
monochromatic
#1D011D #1D011D #300230 #6B046B #A607A6

Accessibility & contrast

On white

17.84
#300230 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #300230
17.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300230#FFFFFF#000000##FFFFFF
##3002301.0017.841.1817.84
#FFFFFF17.841.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #300230;
/* rgb */ color: rgb(48, 2, 48);
/* oklch */ color: oklch(22.0% 0.096 328.3);
Tailwind
colors: {
  custom: {
    50: '#6b4868',
    500: '#300230',
    950: '#000000',
  },
}
SCSS
$custom: #300230;
$custom-light: #6b4868;
$custom-dark: #000000;
JSON
{
  "hex": "#300230",
  "rgb": {
    "r": 48,
    "g": 2,
    "b": 48
  },
  "hsl": {
    "h": 300,
    "s": 92,
    "l": 9.804
  },
  "oklch": {
    "l": 0.21975,
    "c": 0.09591,
    "h": 328.3
  },
  "luminance": 0.00885
}

Semantic roles & 50–950 ramp

primary
#300230
secondary
#197519
accent
#FF2929
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070106
muted
#7A777A

Preview Lab

Preview with #300230

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

Preview Lab → · Contrast checker → · Palette generator →

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