#302075#302075

#302075 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.3% C 0.137 H 284.3°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#302075
RGBrgb(48, 32, 117)
HSLhsl(251, 57%, 29%)
HSVhsv(251, 73%, 46%)
CMYKcmyk(59%, 72.6%, 0%, 54.1%)
CIE-LABlab(19.82, 32.25, -46.21)
CIE-LCHlch(19.82, 56.35, 304.91°)
OKLaboklab(32.28% 0.0338 -0.133)
OKLCHoklch(32.28% 0.137 284.3)
XYZxyz(4.9453, 2.9455, 17.1341)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302075 #657520
analogous
#203B75 #302075 #5B2075
triadic
#302075 #753020 #207530
tetradic
#302075 #75203B #657520 #20755B
square
#302075 #75203B #657520 #20755B
split-complementary
#302075 #755B20 #3B7520
monochromatic
#0A0718 #1C1345 #302075 #442DA5 #5D44CC

Accessibility & contrast

On white

13.21
#302075 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#302075 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302075
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302075#FFFFFF#000000##FFFFFF
##3020751.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003278
Deuteranopia (green-blind)
#002D73
Tritanopia (blue-blind)
#0D3648
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #302075;
/* rgb */ color: rgb(48, 32, 117);
/* oklch */ color: oklch(32.3% 0.137 284.3);
Tailwind
colors: {
  custom: {
    50: '#715d9e',
    500: '#302075',
    950: '#000000',
  },
}
SCSS
$custom: #302075;
$custom-light: #715d9e;
$custom-dark: #000000;
JSON
{
  "hex": "#302075",
  "rgb": {
    "r": 48,
    "g": 32,
    "b": 117
  },
  "hsl": {
    "h": 251.294,
    "s": 57.047,
    "l": 29.216
  },
  "oklch": {
    "l": 0.32281,
    "c": 0.13722,
    "h": 284.3
  },
  "luminance": 0.02946
}

Semantic roles & 50–950 ramp

primary
#302075
secondary
#96A848
accent
#E047C4
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040E
muted
#7B797E

Preview Lab

Preview with #302075

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

Preview Lab → · Contrast checker → · Palette generator →

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