#301869#301869

#301869 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 29.9% C 0.131 H 289.6°. Best body text is #FFFFFF at 14.38:1 contrast (WCAG AA passes).

Color values

HEX#301869
RGBrgb(48, 24, 105)
HSLhsl(258, 63%, 25%)
HSVhsv(258, 77%, 41%)
CMYKcmyk(54.3%, 77.1%, 0%, 58.8%)
CIE-LABlab(17.00, 33.06, -43.06)
CIE-LCHlch(17.00, 54.29, 307.51°)
OKLaboklab(29.91% 0.0439 -0.1237)
OKLCHoklch(29.91% 0.131 289.6)
XYZxyz(4.0946, 2.3014, 13.5903)
Luminance0.0230 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301869 #516918
analogous
#182869 #301869 #591869
triadic
#301869 #693018 #186930
tetradic
#301869 #691828 #516918 #186959
square
#301869 #691828 #516918 #186959
split-complementary
#301869 #695918 #286918
monochromatic
#0B0619 #190D37 #301869 #47239B #5E2FCD

Accessibility & contrast

On white

14.38
#301869 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#301869 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301869
14.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301869#FFFFFF#000000##FFFFFF
##3018691.0014.381.4614.38
#FFFFFF14.381.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B6B
Deuteranopia (green-blind)
#002867
Tritanopia (blue-blind)
#1B2E3F
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #301869;
/* rgb */ color: rgb(48, 24, 105);
/* oklch */ color: oklch(29.9% 0.131 289.6);
Tailwind
colors: {
  custom: {
    50: '#6f5795',
    500: '#301869',
    950: '#000000',
  },
}
SCSS
$custom: #301869;
$custom-light: #6f5795;
$custom-dark: #000000;
JSON
{
  "hex": "#301869",
  "rgb": {
    "r": 48,
    "g": 24,
    "b": 105
  },
  "hsl": {
    "h": 257.778,
    "s": 62.791,
    "l": 25.294
  },
  "oklch": {
    "l": 0.29913,
    "c": 0.13128,
    "h": 289.6
  },
  "luminance": 0.02302
}

Semantic roles & 50–950 ramp

primary
#301869
secondary
#829F3E
accent
#E642B5
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030D
muted
#7B787E

Preview Lab

Preview with #301869

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

Preview Lab → · Contrast checker → · Palette generator →

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