#30283F#30283F

#30283F is a dark, muted violet. Relative luminance 0.025; OKLCH L 29.6% C 0.042 H 299.8°. Best body text is #FFFFFF at 13.99:1 contrast (WCAG AA passes).

Color values

HEX#30283F
RGBrgb(48, 40, 63)
HSLhsl(261, 22%, 20%)
HSVhsv(261, 37%, 25%)
CMYKcmyk(23.8%, 36.5%, 0%, 75.3%)
CIE-LABlab(17.94, 9.49, -13.26)
CIE-LCHlch(17.94, 16.31, 305.58°)
OKLaboklab(29.63% 0.021 -0.0366)
OKLCHoklch(29.63% 0.042 299.8)
XYZxyz(2.8747, 2.5048, 5.0337)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30283F #373F28
analogous
#282B3F #30283F #3B283F
triadic
#30283F #3F3028 #283F30
tetradic
#30283F #3F282B #373F28 #283F3B
square
#30283F #3F282B #373F28 #283F3B
split-complementary
#30283F #3F3B28 #2B3F28
monochromatic
#0E0C13 #13101A #30283F #4D4064 #69588A

Accessibility & contrast

On white

13.99
#30283F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#30283F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30283F
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30283F#FFFFFF#000000##FFFFFF
##30283F1.0013.991.5013.99
#FFFFFF13.991.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232C40
Deuteranopia (green-blind)
#242C3E
Tritanopia (blue-blind)
#2D2C30
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #30283f;
/* rgb */ color: rgb(48, 40, 63);
/* oklch */ color: oklch(29.6% 0.042 299.8);
Tailwind
colors: {
  custom: {
    50: '#686174',
    500: '#30283f',
    950: '#000000',
  },
}
SCSS
$custom: #30283f;
$custom-light: #686174;
$custom-dark: #000000;
JSON
{
  "hex": "#30283f",
  "rgb": {
    "r": 48,
    "g": 40,
    "b": 63
  },
  "hsl": {
    "h": 260.87,
    "s": 22.33,
    "l": 20.196
  },
  "oklch": {
    "l": 0.2963,
    "c": 0.0422,
    "h": 299.8
  },
  "luminance": 0.02505
}

Semantic roles & 50–950 ramp

primary
#30283F
secondary
#667152
accent
#BF69A1
background
#F6F5F7
surface
#EBEAED
border
#C6C6C8
text
#060508
muted
#7A797B

Preview Lab

Preview with #30283F

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

Preview Lab → · Contrast checker → · Palette generator →

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