#30223C#30223C

#30223C is a dark, muted violet. Relative luminance 0.021; OKLCH L 28.1% C 0.050 H 308.2°. Best body text is #FFFFFF at 14.79:1 contrast (WCAG AA passes).

Color values

HEX#30223C
RGBrgb(48, 34, 60)
HSLhsl(272, 28%, 18%)
HSVhsv(272, 43%, 24%)
CMYKcmyk(20%, 43.3%, 0%, 76.5%)
CIE-LABlab(16.00, 12.86, -14.20)
CIE-LCHlch(16.00, 19.15, 312.18°)
OKLaboklab(28.1% 0.0309 -0.0393)
OKLCHoklch(28.1% 0.05 308.2)
XYZxyz(2.6064, 2.0987, 4.5419)
Luminance0.0210 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30223C #2E3C22
analogous
#23223C #30223C #3C223B
triadic
#30223C #3C3022 #223C30
tetradic
#30223C #3C2322 #2E3C22 #223B3C
square
#30223C #3C2322 #2E3C22 #223B3C
split-complementary
#30223C #3B3C22 #223C23
monochromatic
#100B14 #110C15 #30223C #4F3863 #6F4E8A

Accessibility & contrast

On white

14.79
#30223C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30223C
14.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30223C#FFFFFF#000000##FFFFFF
##30223C1.0014.791.4214.79
#FFFFFF14.791.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D273D
Deuteranopia (green-blind)
#20283B
Tritanopia (blue-blind)
#2E262C
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #30223c;
/* rgb */ color: rgb(48, 34, 60);
/* oklch */ color: oklch(28.1% 0.050 308.2);
Tailwind
colors: {
  custom: {
    50: '#695d71',
    500: '#30223c',
    950: '#000000',
  },
}
SCSS
$custom: #30223c;
$custom-light: #695d71;
$custom-dark: #000000;
JSON
{
  "hex": "#30223c",
  "rgb": {
    "r": 48,
    "g": 34,
    "b": 60
  },
  "hsl": {
    "h": 272.308,
    "s": 27.66,
    "l": 18.431
  },
  "oklch": {
    "l": 0.28098,
    "c": 0.04996,
    "h": 308.2
  },
  "luminance": 0.02099
}

Semantic roles & 50–950 ramp

primary
#30223C
secondary
#5C6F4B
accent
#C46490
background
#F6F5F6
surface
#EBE9EC
border
#C6C5C7
text
#060407
muted
#7A797A

Preview Lab

Preview with #30223C

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

Preview Lab → · Contrast checker → · Palette generator →

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