#30283C#30283C

#30283C is a dark, muted violet. Relative luminance 0.025; OKLCH L 29.5% C 0.037 H 302.5°. Best body text is #FFFFFF at 14.05:1 contrast (WCAG AA passes).

Color values

HEX#30283C
RGBrgb(48, 40, 60)
HSLhsl(264, 20%, 20%)
HSVhsv(264, 33%, 24%)
CMYKcmyk(20%, 33.3%, 0%, 76.5%)
CIE-LABlab(17.79, 8.64, -11.41)
CIE-LCHlch(17.79, 14.32, 307.12°)
OKLaboklab(29.47% 0.02 -0.0314)
OKLCHoklch(29.47% 0.037 302.5)
XYZxyz(2.7932, 2.4722, 4.6041)
Luminance0.0247 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30283C #343C28
analogous
#282A3C #30283C #3A283C
triadic
#30283C #3C3028 #283C30
tetradic
#30283C #3C282A #343C28 #283C3A
square
#30283C #3C282A #343C28 #283C3A
split-complementary
#30283C #3C3A28 #2A3C28
monochromatic
#0F0C12 #131017 #30283C #4D4061 #6B5985

Accessibility & contrast

On white

14.05
#30283C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#30283C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30283C
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30283C#FFFFFF#000000##FFFFFF
##30283C1.0014.051.4914.05
#FFFFFF14.051.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242B3D
Deuteranopia (green-blind)
#252C3B
Tritanopia (blue-blind)
#2E2B2F
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #30283c;
/* rgb */ color: rgb(48, 40, 60);
/* oklch */ color: oklch(29.5% 0.037 302.5);
Tailwind
colors: {
  custom: {
    50: '#686171',
    500: '#30283c',
    950: '#000000',
  },
}
SCSS
$custom: #30283c;
$custom-light: #686171;
$custom-dark: #000000;
JSON
{
  "hex": "#30283c",
  "rgb": {
    "r": 48,
    "g": 40,
    "b": 60
  },
  "hsl": {
    "h": 264,
    "s": 20,
    "l": 19.608
  },
  "oklch": {
    "l": 0.29468,
    "c": 0.03718,
    "h": 302.5
  },
  "luminance": 0.02472
}

Semantic roles & 50–950 ramp

primary
#30283C
secondary
#636D52
accent
#BD6B9C
background
#F6F5F6
surface
#EBEAEC
border
#C6C6C7
text
#060507
muted
#7A797A

Preview Lab

Preview with #30283C

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

Preview Lab → · Contrast checker → · Palette generator →

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