#30223E#30223E

#30223E is a dark, muted violet. Relative luminance 0.021; OKLCH L 28.2% C 0.053 H 306.3°. Best body text is #FFFFFF at 14.75:1 contrast (WCAG AA passes).

Color values

HEX#30223E
RGBrgb(48, 34, 62)
HSLhsl(270, 29%, 19%)
HSVhsv(270, 45%, 24%)
CMYKcmyk(22.6%, 45.2%, 0%, 75.7%)
CIE-LABlab(16.11, 13.42, -15.42)
CIE-LCHlch(16.11, 20.44, 311.03°)
OKLaboklab(28.22% 0.0314 -0.0428)
OKLCHoklch(28.22% 0.053 306.3)
XYZxyz(2.6603, 2.1203, 4.8256)
Luminance0.0212 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30223E #303E22
analogous
#22223E #30223E #3E223E
triadic
#30223E #3E3022 #223E30
tetradic
#30223E #3E2222 #303E22 #223E3E
square
#30223E #3E2222 #303E22 #223E3E
split-complementary
#30223E #3E3E22 #223E22
monochromatic
#0F0B14 #110C16 #30223E #4F3866 #6D4D8D

Accessibility & contrast

On white

14.75
#30223E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30223E
14.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30223E#FFFFFF#000000##FFFFFF
##30223E1.0014.751.4214.75
#FFFFFF14.751.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C273F
Deuteranopia (green-blind)
#1F283D
Tritanopia (blue-blind)
#2E262D
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #30223e;
/* rgb */ color: rgb(48, 34, 62);
/* oklch */ color: oklch(28.2% 0.053 306.3);
Tailwind
colors: {
  custom: {
    50: '#695d73',
    500: '#30223e',
    950: '#000000',
  },
}
SCSS
$custom: #30223e;
$custom-light: #695d73;
$custom-dark: #000000;
JSON
{
  "hex": "#30223e",
  "rgb": {
    "r": 48,
    "g": 34,
    "b": 62
  },
  "hsl": {
    "h": 270,
    "s": 29.167,
    "l": 18.824
  },
  "oklch": {
    "l": 0.28216,
    "c": 0.05308,
    "h": 306.3
  },
  "luminance": 0.0212
}

Semantic roles & 50–950 ramp

primary
#30223E
secondary
#5E714B
accent
#C56294
background
#F6F5F7
surface
#EBE9ED
border
#C6C5C8
text
#060408
muted
#7A797B

Preview Lab

Preview with #30223E

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

Preview Lab → · Contrast checker → · Palette generator →

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