#30243F#30243F

#30243F is a dark, muted violet. Relative luminance 0.022; OKLCH L 28.7% C 0.050 H 303.8°. Best body text is #FFFFFF at 14.48:1 contrast (WCAG AA passes).

Color values

HEX#30243F
RGBrgb(48, 36, 63)
HSLhsl(267, 27%, 19%)
HSVhsv(267, 43%, 25%)
CMYKcmyk(23.8%, 42.9%, 0%, 75.3%)
CIE-LABlab(16.74, 12.30, -15.12)
CIE-LCHlch(16.74, 19.50, 309.13°)
OKLaboklab(28.72% 0.0281 -0.0419)
OKLCHoklch(28.72% 0.05 303.8)
XYZxyz(2.7468, 2.2490, 4.9911)
Luminance0.0225 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30243F #333F24
analogous
#24263F #30243F #3E243F
triadic
#30243F #3F3024 #243F30
tetradic
#30243F #3F2426 #333F24 #243F3E
square
#30243F #3F2426 #333F24 #243F3E
split-complementary
#30243F #3F3E24 #263F24
monochromatic
#0F0B13 #120E18 #30243F #4E3A66 #6B518D

Accessibility & contrast

On white

14.48
#30243F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#30243F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30243F
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30243F#FFFFFF#000000##FFFFFF
##30243F1.0014.481.4514.48
#FFFFFF14.481.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2940
Deuteranopia (green-blind)
#20293E
Tritanopia (blue-blind)
#2E282E
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #30243f;
/* rgb */ color: rgb(48, 36, 63);
/* oklch */ color: oklch(28.7% 0.050 303.8);
Tailwind
colors: {
  custom: {
    50: '#695e74',
    500: '#30243f',
    950: '#000000',
  },
}
SCSS
$custom: #30243f;
$custom-light: #695e74;
$custom-dark: #000000;
JSON
{
  "hex": "#30243f",
  "rgb": {
    "r": 48,
    "g": 36,
    "b": 63
  },
  "hsl": {
    "h": 266.667,
    "s": 27.273,
    "l": 19.412
  },
  "oklch": {
    "l": 0.28717,
    "c": 0.05049,
    "h": 303.8
  },
  "luminance": 0.02249
}

Semantic roles & 50–950 ramp

primary
#30243F
secondary
#61724D
accent
#C46499
background
#F6F5F7
surface
#EBE9ED
border
#C6C5C8
text
#060408
muted
#7A797B

Preview Lab

Preview with #30243F

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

Preview Lab → · Contrast checker → · Palette generator →

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