#30293F#30293F

#30293F is a dark, muted violet. Relative luminance 0.026; OKLCH L 29.9% C 0.040 H 298.6°. Best body text is #FFFFFF at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#30293F
RGBrgb(48, 41, 63)
HSLhsl(259, 21%, 20%)
HSVhsv(259, 35%, 25%)
CMYKcmyk(23.8%, 34.9%, 0%, 75.3%)
CIE-LABlab(18.25, 8.79, -12.79)
CIE-LCHlch(18.25, 15.52, 304.49°)
OKLaboklab(29.86% 0.0192 -0.0353)
OKLCHoklch(29.86% 0.04 298.6)
XYZxyz(2.9089, 2.5731, 5.0451)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30293F #383F29
analogous
#292D3F #30293F #3B293F
triadic
#30293F #3F3029 #293F30
tetradic
#30293F #3F292D #383F29 #293F3B
square
#30293F #3F292D #383F29 #293F3B
split-complementary
#30293F #3F3B29 #2D3F29
monochromatic
#0E0C13 #14111A #30293F #4C4164 #685989

Accessibility & contrast

On white

13.87
#30293F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#30293F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30293F
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30293F#FFFFFF#000000##FFFFFF
##30293F1.0013.871.5113.87
#FFFFFF13.871.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242D40
Deuteranopia (green-blind)
#252C3E
Tritanopia (blue-blind)
#2D2C31
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #30293f;
/* rgb */ color: rgb(48, 41, 63);
/* oklch */ color: oklch(29.9% 0.040 298.6);
Tailwind
colors: {
  custom: {
    50: '#686274',
    500: '#30293f',
    950: '#000000',
  },
}
SCSS
$custom: #30293f;
$custom-light: #686274;
$custom-dark: #000000;
JSON
{
  "hex": "#30293f",
  "rgb": {
    "r": 48,
    "g": 41,
    "b": 63
  },
  "hsl": {
    "h": 259.091,
    "s": 21.154,
    "l": 20.392
  },
  "oklch": {
    "l": 0.29864,
    "c": 0.04017,
    "h": 298.6
  },
  "luminance": 0.02573
}

Semantic roles & 50–950 ramp

primary
#30293F
secondary
#677053
accent
#BE6AA3
background
#F6F5F7
surface
#EBEAED
border
#C6C6C8
text
#060508
muted
#7A797B

Preview Lab

Preview with #30293F

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

Preview Lab → · Contrast checker → · Palette generator →

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