#302244#302244

#302244 is a dark, moderate violet. Relative luminance 0.022; OKLCH L 28.6% C 0.063 H 301.6°. Best body text is #FFFFFF at 14.60:1 contrast (WCAG AA passes).

Color values

HEX#302244
RGBrgb(48, 34, 68)
HSLhsl(265, 33%, 20%)
HSVhsv(265, 50%, 27%)
CMYKcmyk(29.4%, 50%, 0%, 73.3%)
CIE-LABlab(16.45, 15.16, -19.04)
CIE-LCHlch(16.45, 24.34, 308.53°)
OKLaboklab(28.59% 0.0327 -0.0533)
OKLCHoklch(28.59% 0.063 301.6)
XYZxyz(2.8341, 2.1898, 5.7411)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302244 #364422
analogous
#222544 #302244 #412244
triadic
#302244 #443022 #224430
tetradic
#302244 #442225 #364422 #224441
square
#302244 #442225 #364422 #224441
split-complementary
#302244 #444122 #254422
monochromatic
#0E0A14 #130E1B #302244 #4D366D #6A4B96

Accessibility & contrast

On white

14.60
#302244 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#302244 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302244
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302244#FFFFFF#000000##FFFFFF
##3022441.0014.601.4414.60
#FFFFFF14.601.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192945
Deuteranopia (green-blind)
#1C2943
Tritanopia (blue-blind)
#2C282F
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #302244;
/* rgb */ color: rgb(48, 34, 68);
/* oklch */ color: oklch(28.6% 0.063 301.6);
Tailwind
colors: {
  custom: {
    50: '#695d78',
    500: '#302244',
    950: '#000000',
  },
}
SCSS
$custom: #302244;
$custom-light: #695d78;
$custom-dark: #000000;
JSON
{
  "hex": "#302244",
  "rgb": {
    "r": 48,
    "g": 34,
    "b": 68
  },
  "hsl": {
    "h": 264.706,
    "s": 33.333,
    "l": 20
  },
  "oklch": {
    "l": 0.28592,
    "c": 0.06252,
    "h": 301.6
  },
  "luminance": 0.0219
}

Semantic roles & 50–950 ramp

primary
#302244
secondary
#65784A
accent
#C95E9D
background
#F6F5F7
surface
#EBE9ED
border
#C6C5C8
text
#060409
muted
#7A797B

Preview Lab

Preview with #302244

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

Preview Lab → · Contrast checker → · Palette generator →

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