#30246B#30246B

#30246B is a dark, moderate violet. Relative luminance 0.030; OKLCH L 32.0% C 0.118 H 285.3°. Best body text is #FFFFFF at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#30246B
RGBrgb(48, 36, 107)
HSLhsl(250, 50%, 28%)
HSVhsv(250, 66%, 42%)
CMYKcmyk(55.1%, 66.4%, 0%, 58%)
CIE-LABlab(19.85, 26.40, -39.71)
CIE-LCHlch(19.85, 47.69, 303.62°)
OKLaboklab(32.02% 0.0312 -0.1139)
OKLCHoklch(32.02% 0.118 285.3)
XYZxyz(4.5028, 2.9514, 14.2395)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30246B #5F6B24
analogous
#243B6B #30246B #53246B
triadic
#30246B #6B3024 #246B30
tetradic
#30246B #6B243B #5F6B24 #246B53
square
#30246B #6B243B #5F6B24 #246B53
split-complementary
#30246B #6B5324 #3B6B24
monochromatic
#0A0817 #1B153D #30246B #453399 #5D48C1

Accessibility & contrast

On white

13.20
#30246B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30246B
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30246B#FFFFFF#000000##FFFFFF
##30246B1.0013.201.5913.20
#FFFFFF13.201.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326D
Deuteranopia (green-blind)
#002E6A
Tritanopia (blue-blind)
#193544
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #30246b;
/* rgb */ color: rgb(48, 36, 107);
/* oklch */ color: oklch(32.0% 0.118 285.3);
Tailwind
colors: {
  custom: {
    50: '#6e5f96',
    500: '#30246b',
    950: '#000000',
  },
}
SCSS
$custom: #30246b;
$custom-light: #6e5f96;
$custom-dark: #000000;
JSON
{
  "hex": "#30246b",
  "rgb": {
    "r": 48,
    "g": 36,
    "b": 107
  },
  "hsl": {
    "h": 250.141,
    "s": 49.65,
    "l": 28.039
  },
  "oklch": {
    "l": 0.32018,
    "c": 0.11809,
    "h": 285.3
  },
  "luminance": 0.02952
}

Semantic roles & 50–950 ramp

primary
#30246B
secondary
#909E4D
accent
#D94FC2
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08040D
muted
#7B797E

Preview Lab

Preview with #30246B

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

Preview Lab → · Contrast checker → · Palette generator →

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