#30165B#30165B

#30165B is a dark, moderate violet. Relative luminance 0.020; OKLCH L 28.3% C 0.116 H 295.2°. Best body text is #FFFFFF at 15.09:1 contrast (WCAG AA passes).

Color values

HEX#30165B
RGBrgb(48, 22, 91)
HSLhsl(263, 61%, 22%)
HSVhsv(263, 76%, 36%)
CMYKcmyk(47.3%, 75.8%, 0%, 64.3%)
CIE-LABlab(15.26, 29.89, -36.62)
CIE-LCHlch(15.26, 47.27, 309.23°)
OKLaboklab(28.27% 0.0493 -0.1048)
OKLCHoklch(28.27% 0.116 295.2)
XYZxyz(3.3937, 1.9574, 10.0945)
Luminance0.0196 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30165B #415B16
analogous
#161E5B #30165B #53165B
triadic
#30165B #5B3016 #165B30
tetradic
#30165B #5B161E #415B16 #165B53
square
#30165B #5B161E #415B16 #165B53
split-complementary
#30165B #5B5316 #1E5B16
monochromatic
#0D0619 #160A2A #30165B #4A228C #642EBE

Accessibility & contrast

On white

15.09
#30165B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#30165B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30165B
15.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30165B#FFFFFF#000000##FFFFFF
##30165B1.0015.091.3915.09
#FFFFFF15.091.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275D
Deuteranopia (green-blind)
#00255A
Tritanopia (blue-blind)
#242736
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #30165b;
/* rgb */ color: rgb(48, 22, 91);
/* oklch */ color: oklch(28.3% 0.116 295.2);
Tailwind
colors: {
  custom: {
    50: '#6d568a',
    500: '#30165b',
    950: '#000000',
  },
}
SCSS
$custom: #30165b;
$custom-light: #6d568a;
$custom-dark: #000000;
JSON
{
  "hex": "#30165b",
  "rgb": {
    "r": 48,
    "g": 22,
    "b": 91
  },
  "hsl": {
    "h": 262.609,
    "s": 61.062,
    "l": 22.157
  },
  "oklch": {
    "l": 0.28273,
    "c": 0.11579,
    "h": 295.2
  },
  "luminance": 0.01958
}

Semantic roles & 50–950 ramp

primary
#30165B
secondary
#71923B
accent
#E444A8
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#07030C
muted
#7A787D

Preview Lab

Preview with #30165B

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

Preview Lab → · Contrast checker → · Palette generator →

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