#282034#282034

#282034 is a dark, muted violet. Relative luminance 0.017; OKLCH L 26.2% C 0.038 H 302.2°. Best body text is #FFFFFF at 15.60:1 contrast (WCAG AA passes).

Color values

HEX#282034
RGBrgb(40, 32, 52)
HSLhsl(264, 24%, 16%)
HSVhsv(264, 38%, 20%)
CMYKcmyk(23.1%, 38.5%, 0%, 79.6%)
CIE-LABlab(14.01, 8.93, -11.70)
CIE-LCHlch(14.01, 14.72, 307.35°)
OKLaboklab(26.22% 0.0203 -0.0323)
OKLCHoklch(26.22% 0.038 302.2)
XYZxyz(2.0113, 1.7321, 3.4765)
Luminance0.0173 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282034 #2C3420
analogous
#202234 #282034 #322034
triadic
#282034 #342820 #203428
tetradic
#282034 #342022 #2C3420 #203432
square
#282034 #342022 #2C3420 #203432
split-complementary
#282034 #343220 #223420
monochromatic
#0F0C13 #0F0C13 #282034 #45375A #624F80

Accessibility & contrast

On white

15.60
#282034 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#282034 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282034
15.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282034#FFFFFF#000000##FFFFFF
##2820341.0015.601.3515.60
#FFFFFF15.601.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2335
Deuteranopia (green-blind)
#1D2433
Tritanopia (blue-blind)
#262327
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #282034;
/* rgb */ color: rgb(40, 32, 52);
/* oklch */ color: oklch(26.2% 0.038 302.2);
Tailwind
colors: {
  custom: {
    50: '#625b6b',
    500: '#282034',
    950: '#000000',
  },
}
SCSS
$custom: #282034;
$custom-light: #625b6b;
$custom-dark: #000000;
JSON
{
  "hex": "#282034",
  "rgb": {
    "r": 40,
    "g": 32,
    "b": 52
  },
  "hsl": {
    "h": 264,
    "s": 23.81,
    "l": 16.471
  },
  "oklch": {
    "l": 0.26224,
    "c": 0.03816,
    "h": 302.2
  },
  "luminance": 0.01732
}

Semantic roles & 50–950 ramp

primary
#282034
secondary
#5B6749
accent
#C0689D
background
#F5F5F6
surface
#EAE9EB
border
#C6C5C6
text
#050406
muted
#79797A

Preview Lab

Preview with #282034

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

Preview Lab → · Contrast checker → · Palette generator →

#282034 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva