#302C3E#302C3E

#302C3E is a dark, muted violet. Relative luminance 0.028; OKLCH L 30.5% C 0.032 H 294.6°. Best body text is #FFFFFF at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#302C3E
RGBrgb(48, 44, 62)
HSLhsl(253, 17%, 21%)
HSVhsv(253, 29%, 24%)
CMYKcmyk(22.6%, 29%, 0%, 75.7%)
CIE-LABlab(19.13, 6.40, -10.74)
CIE-LCHlch(19.13, 12.50, 300.78°)
OKLaboklab(30.53% 0.0135 -0.0295)
OKLCHoklch(30.53% 0.032 294.6)
XYZxyz(2.9889, 2.7775, 4.9351)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302C3E #3A3E2C
analogous
#2C313E #302C3E #392C3E
triadic
#302C3E #3E302C #2C3E30
tetradic
#302C3E #3E2C31 #3A3E2C #2C3E39
square
#302C3E #3E2C31 #3A3E2C #2C3E39
split-complementary
#302C3E #3E392C #313E2C
monochromatic
#0E0D12 #14131A #302C3E #4C4562 #675F86

Accessibility & contrast

On white

13.50
#302C3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#302C3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302C3E
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302C3E#FFFFFF#000000##FFFFFF
##302C3E1.0013.501.5613.50
#FFFFFF13.501.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282F3F
Deuteranopia (green-blind)
#282E3D
Tritanopia (blue-blind)
#2D2F32
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #302c3e;
/* rgb */ color: rgb(48, 44, 62);
/* oklch */ color: oklch(30.5% 0.032 294.6);
Tailwind
colors: {
  custom: {
    50: '#686573',
    500: '#302c3e',
    950: '#000000',
  },
}
SCSS
$custom: #302c3e;
$custom-light: #686573;
$custom-dark: #000000;
JSON
{
  "hex": "#302c3e",
  "rgb": {
    "r": 48,
    "g": 44,
    "b": 62
  },
  "hsl": {
    "h": 253.333,
    "s": 16.981,
    "l": 20.784
  },
  "oklch": {
    "l": 0.30529,
    "c": 0.03241,
    "h": 294.6
  },
  "luminance": 0.02778
}

Semantic roles & 50–950 ramp

primary
#302C3E
secondary
#696F57
accent
#BA6EA9
background
#F6F6F6
surface
#EBEBEC
border
#C6C6C7
text
#060508
muted
#7A7A7B

Preview Lab

Preview with #302C3E

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

Preview Lab → · Contrast checker → · Palette generator →

#302C3E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva