#30243C#30243C

#30243C is a dark, muted violet. Relative luminance 0.022; OKLCH L 28.5% C 0.046 H 306.6°. Best body text is #FFFFFF at 14.55:1 contrast (WCAG AA passes).

Color values

HEX#30243C
RGBrgb(48, 36, 60)
HSLhsl(270, 25%, 19%)
HSVhsv(270, 40%, 24%)
CMYKcmyk(20%, 40%, 0%, 76.5%)
CIE-LABlab(16.58, 11.46, -13.28)
CIE-LCHlch(16.58, 17.54, 310.78°)
OKLaboklab(28.54% 0.0273 -0.0366)
OKLCHoklch(28.54% 0.046 306.6)
XYZxyz(2.6653, 2.2164, 4.5615)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30243C #303C24
analogous
#24243C #30243C #3C243C
triadic
#30243C #3C3024 #243C30
tetradic
#30243C #3C2424 #303C24 #243C3C
square
#30243C #3C2424 #303C24 #243C3C
split-complementary
#30243C #3C3C24 #243C24
monochromatic
#0F0B13 #110D16 #30243C #4F3B62 #6D5289

Accessibility & contrast

On white

14.55
#30243C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#30243C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30243C
14.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30243C#FFFFFF#000000##FFFFFF
##30243C1.0014.551.4414.55
#FFFFFF14.551.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F293D
Deuteranopia (green-blind)
#22293B
Tritanopia (blue-blind)
#2E282D
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #30243c;
/* rgb */ color: rgb(48, 36, 60);
/* oklch */ color: oklch(28.5% 0.046 306.6);
Tailwind
colors: {
  custom: {
    50: '#685e71',
    500: '#30243c',
    950: '#000000',
  },
}
SCSS
$custom: #30243c;
$custom-light: #685e71;
$custom-dark: #000000;
JSON
{
  "hex": "#30243c",
  "rgb": {
    "r": 48,
    "g": 36,
    "b": 60
  },
  "hsl": {
    "h": 270,
    "s": 25,
    "l": 18.824
  },
  "oklch": {
    "l": 0.28544,
    "c": 0.04568,
    "h": 306.6
  },
  "luminance": 0.02216
}

Semantic roles & 50–950 ramp

primary
#30243C
secondary
#5E6E4D
accent
#C16694
background
#F6F5F6
surface
#EBE9EC
border
#C6C5C7
text
#060407
muted
#7A797A

Preview Lab

Preview with #30243C

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

Preview Lab → · Contrast checker → · Palette generator →

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