#30293C#30293C

#30293C is a dark, muted violet. Relative luminance 0.025; OKLCH L 29.7% C 0.035 H 301.2°. Best body text is #FFFFFF at 13.93:1 contrast (WCAG AA passes).

Color values

HEX#30293C
RGBrgb(48, 41, 60)
HSLhsl(262, 19%, 20%)
HSVhsv(262, 32%, 24%)
CMYKcmyk(20%, 31.7%, 0%, 76.5%)
CIE-LABlab(18.10, 7.94, -10.94)
CIE-LCHlch(18.10, 13.52, 305.96°)
OKLaboklab(29.7% 0.0182 -0.03)
OKLCHoklch(29.7% 0.035 301.2)
XYZxyz(2.8273, 2.5405, 4.6155)
Luminance0.0254 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30293C #353C29
analogous
#292C3C #30293C #3A293C
triadic
#30293C #3C3029 #293C30
tetradic
#30293C #3C292C #353C29 #293C3A
square
#30293C #3C292C #353C29 #293C3A
split-complementary
#30293C #3C3A29 #2C3C29
monochromatic
#0F0C12 #131018 #30293C #4D4260 #6A5B85

Accessibility & contrast

On white

13.93
#30293C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30293C
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30293C#FFFFFF#000000##FFFFFF
##30293C1.0013.931.5113.93
#FFFFFF13.931.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252C3D
Deuteranopia (green-blind)
#262C3B
Tritanopia (blue-blind)
#2E2C30
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #30293c;
/* rgb */ color: rgb(48, 41, 60);
/* oklch */ color: oklch(29.7% 0.035 301.2);
Tailwind
colors: {
  custom: {
    50: '#686271',
    500: '#30293c',
    950: '#000000',
  },
}
SCSS
$custom: #30293c;
$custom-light: #686271;
$custom-dark: #000000;
JSON
{
  "hex": "#30293c",
  "rgb": {
    "r": 48,
    "g": 41,
    "b": 60
  },
  "hsl": {
    "h": 262.105,
    "s": 18.812,
    "l": 19.804
  },
  "oklch": {
    "l": 0.29704,
    "c": 0.03509,
    "h": 301.2
  },
  "luminance": 0.0254
}

Semantic roles & 50–950 ramp

primary
#30293C
secondary
#646D54
accent
#BB6C9E
background
#F6F5F6
surface
#EBEAEC
border
#C6C6C7
text
#060507
muted
#7A797A

Preview Lab

Preview with #30293C

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

Preview Lab → · Contrast checker → · Palette generator →

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