#30223A#30223A

#30223A is a dark, muted violet. Relative luminance 0.021; OKLCH L 28.0% C 0.047 H 310.3°. Best body text is #FFFFFF at 14.83:1 contrast (WCAG AA passes).

Color values

HEX#30223A
RGBrgb(48, 34, 58)
HSLhsl(275, 26%, 18%)
HSVhsv(275, 41%, 23%)
CMYKcmyk(17.2%, 41.4%, 0%, 77.3%)
CIE-LABlab(15.89, 12.31, -12.96)
CIE-LCHlch(15.89, 17.87, 313.53°)
OKLaboklab(27.98% 0.0303 -0.0357)
OKLCHoklch(27.98% 0.047 310.3)
XYZxyz(2.5545, 2.0780, 4.2687)
Luminance0.0208 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30223A #2C3A22
analogous
#24223A #30223A #3A2238
triadic
#30223A #3A3022 #223A30
tetradic
#30223A #3A2422 #2C3A22 #22383A
square
#30223A #3A2422 #2C3A22 #22383A
split-complementary
#30223A #383A22 #223A24
monochromatic
#100B13 #100B13 #30223A #503961 #704F87

Accessibility & contrast

On white

14.83
#30223A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#30223A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30223A
14.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30223A#FFFFFF#000000##FFFFFF
##30223A1.0014.831.4214.83
#FFFFFF14.831.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E273B
Deuteranopia (green-blind)
#212839
Tritanopia (blue-blind)
#2F252B
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #30223a;
/* rgb */ color: rgb(48, 34, 58);
/* oklch */ color: oklch(28.0% 0.047 310.3);
Tailwind
colors: {
  custom: {
    50: '#685d70',
    500: '#30223a',
    950: '#000000',
  },
}
SCSS
$custom: #30223a;
$custom-light: #685d70;
$custom-dark: #000000;
JSON
{
  "hex": "#30223a",
  "rgb": {
    "r": 48,
    "g": 34,
    "b": 58
  },
  "hsl": {
    "h": 275,
    "s": 26.087,
    "l": 18.039
  },
  "oklch": {
    "l": 0.27983,
    "c": 0.04685,
    "h": 310.3
  },
  "luminance": 0.02078
}

Semantic roles & 50–950 ramp

primary
#30223A
secondary
#596D4B
accent
#C2658C
background
#F6F5F6
surface
#EBE9EC
border
#C6C5C7
text
#060407
muted
#7A797A

Preview Lab

Preview with #30223A

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

Preview Lab → · Contrast checker → · Palette generator →

#30223A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva