#30246A#30246A

#30246A is a dark, moderate violet. Relative luminance 0.029; OKLCH L 31.9% C 0.117 H 285.6°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#30246A
RGBrgb(48, 36, 106)
HSLhsl(250, 49%, 28%)
HSVhsv(250, 66%, 42%)
CMYKcmyk(54.7%, 66%, 0%, 58.4%)
CIE-LABlab(19.76, 26.06, -39.20)
CIE-LCHlch(19.76, 47.07, 303.62°)
OKLaboklab(31.93% 0.0313 -0.1124)
OKLCHoklch(31.93% 0.117 285.6)
XYZxyz(4.4505, 2.9305, 13.9640)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30246A #5E6A24
analogous
#243B6A #30246A #53246A
triadic
#30246A #6A3024 #246A30
tetradic
#30246A #6A243B #5E6A24 #246A53
square
#30246A #6A243B #5E6A24 #246A53
split-complementary
#30246A #6A5324 #3B6A24
monochromatic
#0A0817 #1B143C #30246A #453498 #5C48C1

Accessibility & contrast

On white

13.24
#30246A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#30246A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30246A
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30246A#FFFFFF#000000##FFFFFF
##30246A1.0013.241.5913.24
#FFFFFF13.241.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326C
Deuteranopia (green-blind)
#002E69
Tritanopia (blue-blind)
#193543
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #30246a;
/* rgb */ color: rgb(48, 36, 106);
/* oklch */ color: oklch(31.9% 0.117 285.6);
Tailwind
colors: {
  custom: {
    50: '#6e5f95',
    500: '#30246a',
    950: '#000000',
  },
}
SCSS
$custom: #30246a;
$custom-light: #6e5f95;
$custom-dark: #000000;
JSON
{
  "hex": "#30246a",
  "rgb": {
    "r": 48,
    "g": 36,
    "b": 106
  },
  "hsl": {
    "h": 250.286,
    "s": 49.296,
    "l": 27.843
  },
  "oklch": {
    "l": 0.3193,
    "c": 0.11665,
    "h": 285.6
  },
  "luminance": 0.02931
}

Semantic roles & 50–950 ramp

primary
#30246A
secondary
#8F9D4D
accent
#D94FC1
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08040D
muted
#7B797E

Preview Lab

Preview with #30246A

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

Preview Lab → · Contrast checker → · Palette generator →

#30246A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva