#301830#301830

#301830 is a dark, muted purple. Relative luminance 0.015; OKLCH L 25.3% C 0.055 H 327.0°. Best body text is #FFFFFF at 16.17:1 contrast (WCAG AA passes).

Color values

HEX#301830
RGBrgb(48, 24, 48)
HSLhsl(300, 33%, 14%)
HSVhsv(300, 50%, 19%)
CMYKcmyk(0%, 50%, 0%, 81.2%)
CIE-LABlab(12.58, 16.66, -10.97)
CIE-LCHlch(12.58, 19.94, 326.64°)
OKLaboklab(25.31% 0.0462 -0.0299)
OKLCHoklch(25.31% 0.055 327)
XYZxyz(2.0790, 1.4951, 2.9748)
Luminance0.0149 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301830 #183018
analogous
#241830 #301830 #301824
triadic
#301830 #303018 #183030
tetradic
#301830 #302418 #183018 #182430
square
#301830 #302418 #183018 #182430
split-complementary
#301830 #243018 #183024
monochromatic
#140A14 #140A14 #301830 #592C59 #824182

Accessibility & contrast

On white

16.17
#301830 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#301830 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301830
16.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301830#FFFFFF#000000##FFFFFF
##3018301.0016.171.3016.17
#FFFFFF16.171.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#161F31
Deuteranopia (green-blind)
#1D222F
Tritanopia (blue-blind)
#311A21
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #301830;
/* rgb */ color: rgb(48, 24, 48);
/* oklch */ color: oklch(25.3% 0.055 327.0);
Tailwind
colors: {
  custom: {
    50: '#695568',
    500: '#301830',
    950: '#000000',
  },
}
SCSS
$custom: #301830;
$custom-light: #695568;
$custom-dark: #000000;
JSON
{
  "hex": "#301830",
  "rgb": {
    "r": 48,
    "g": 24,
    "b": 48
  },
  "hsl": {
    "h": 300,
    "s": 33.333,
    "l": 14.118
  },
  "oklch": {
    "l": 0.25312,
    "c": 0.05504,
    "h": 327
  },
  "luminance": 0.01495
}

Semantic roles & 50–950 ramp

primary
#301830
secondary
#3F653F
accent
#C95E5E
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060306
muted
#7A787A

Preview Lab

Preview with #301830

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

Preview Lab → · Contrast checker → · Palette generator →

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