#301675#301675

#301675 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.9% C 0.148 H 286.5°. Best body text is #FFFFFF at 14.02:1 contrast (WCAG AA passes).

Color values

HEX#301675
RGBrgb(48, 22, 117)
HSLhsl(256, 68%, 27%)
HSVhsv(256, 81%, 46%)
CMYKcmyk(59%, 81.2%, 0%, 54.1%)
CIE-LABlab(17.86, 37.79, -49.44)
CIE-LCHlch(17.86, 62.23, 307.39°)
OKLaboklab(30.89% 0.0421 -0.1424)
OKLCHoklch(30.89% 0.148 286.5)
XYZxyz(4.7158, 2.4863, 17.0576)
Luminance0.0249 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301675 #5B7516
analogous
#162C75 #301675 #601675
triadic
#301675 #753016 #167530
tetradic
#301675 #75162C #5B7516 #167560
square
#301675 #75162C #5B7516 #167560
split-complementary
#301675 #756016 #2C7516
monochromatic
#0B051A #1B0C41 #301675 #4520A9 #5C2ED8

Accessibility & contrast

On white

14.02
#301675 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#301675 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301675
14.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301675#FFFFFF#000000##FFFFFF
##3016751.0014.021.5014.02
#FFFFFF14.021.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E78
Deuteranopia (green-blind)
#002973
Tritanopia (blue-blind)
#0F3245
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #301675;
/* rgb */ color: rgb(48, 22, 117);
/* oklch */ color: oklch(30.9% 0.148 286.5);
Tailwind
colors: {
  custom: {
    50: '#72579e',
    500: '#301675',
    950: '#000000',
  },
}
SCSS
$custom: #301675;
$custom-light: #72579e;
$custom-dark: #000000;
JSON
{
  "hex": "#301675",
  "rgb": {
    "r": 48,
    "g": 22,
    "b": 117
  },
  "hsl": {
    "h": 256.421,
    "s": 68.345,
    "l": 27.255
  },
  "oklch": {
    "l": 0.30891,
    "c": 0.14845,
    "h": 286.5
  },
  "luminance": 0.02487
}

Semantic roles & 50–950 ramp

primary
#301675
secondary
#8CAB3C
accent
#EB3DBB
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #301675

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

Preview Lab → · Contrast checker → · Palette generator →

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