#300229#300229

#300229 is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.5% C 0.090 H 335.3°. Best body text is #FFFFFF at 18.00:1 contrast (WCAG AA passes).

Color values

HEX#300229
RGBrgb(48, 2, 41)
HSLhsl(309, 92%, 10%)
HSVhsv(309, 96%, 19%)
CMYKcmyk(0%, 95.8%, 14.6%, 81.2%)
CIE-LABlab(7.52, 27.87, -13.69)
CIE-LCHlch(7.52, 31.05, 333.83°)
OKLaboklab(21.47% 0.0818 -0.0375)
OKLCHoklch(21.47% 0.09 335.3)
XYZxyz(1.6409, 0.8320, 2.1716)
Luminance0.0083 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300229 #023009
analogous
#200230 #300229 #300212
triadic
#300229 #293002 #022930
tetradic
#300229 #302002 #023009 #021230
square
#300229 #302002 #023009 #021230
split-complementary
#300229 #123002 #023020
monochromatic
#1D0119 #1D0119 #300229 #6B045B #A6078D

Accessibility & contrast

On white

18.00
#300229 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#300229 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #300229
18.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300229#FFFFFF#000000##FFFFFF
##3002291.0018.001.1718.00
#FFFFFF18.001.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02122A
Deuteranopia (green-blind)
#131928
Tritanopia (blue-blind)
#330515
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #300229;
/* rgb */ color: rgb(48, 2, 41);
/* oklch */ color: oklch(21.5% 0.090 335.3);
Tailwind
colors: {
  custom: {
    50: '#6b4863',
    500: '#300229',
    950: '#000000',
  },
}
SCSS
$custom: #300229;
$custom-light: #6b4863;
$custom-dark: #000000;
JSON
{
  "hex": "#300229",
  "rgb": {
    "r": 48,
    "g": 2,
    "b": 41
  },
  "hsl": {
    "h": 309.13,
    "s": 92,
    "l": 9.804
  },
  "oklch": {
    "l": 0.21469,
    "c": 0.08998,
    "h": 335.3
  },
  "luminance": 0.00832
}

Semantic roles & 50–950 ramp

primary
#300229
secondary
#197527
accent
#FF4929
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#070105
muted
#7A7779

Preview Lab

Preview with #300229

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

Preview Lab → · Contrast checker → · Palette generator →

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