#301055#301055

#301055 is a dark, moderate violet. Relative luminance 0.017; OKLCH L 26.9% C 0.116 H 299.5°. Best body text is #FFFFFF at 15.78:1 contrast (WCAG AA passes).

Color values

HEX#301055
RGBrgb(48, 16, 85)
HSLhsl(268, 68%, 20%)
HSVhsv(268, 81%, 33%)
CMYKcmyk(43.5%, 81.2%, 0%, 66.7%)
CIE-LABlab(13.56, 31.36, -35.35)
CIE-LCHlch(13.56, 47.25, 311.58°)
OKLaboklab(26.9% 0.0571 -0.101)
OKLCHoklch(26.9% 0.116 299.5)
XYZxyz(3.0435, 1.6548, 8.7516)
Luminance0.0165 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301055 #355510
analogous
#101355 #301055 #531055
triadic
#301055 #553010 #105530
tetradic
#301055 #551013 #355510 #105553
square
#301055 #551013 #355510 #105553
split-complementary
#301055 #555310 #135510
monochromatic
#0F051A #130621 #301055 #4D1A89 #6A23BC

Accessibility & contrast

On white

15.78
#301055 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#301055 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301055
15.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301055#FFFFFF#000000##FFFFFF
##3010551.0015.781.3315.78
#FFFFFF15.781.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002357
Deuteranopia (green-blind)
#002254
Tritanopia (blue-blind)
#272232
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #301055;
/* rgb */ color: rgb(48, 16, 85);
/* oklch */ color: oklch(26.9% 0.116 299.5);
Tailwind
colors: {
  custom: {
    50: '#6d5285',
    500: '#301055',
    950: '#000000',
  },
}
SCSS
$custom: #301055;
$custom-light: #6d5285;
$custom-dark: #000000;
JSON
{
  "hex": "#301055",
  "rgb": {
    "r": 48,
    "g": 16,
    "b": 85
  },
  "hsl": {
    "h": 267.826,
    "s": 68.317,
    "l": 19.804
  },
  "oklch": {
    "l": 0.26895,
    "c": 0.11603,
    "h": 299.5
  },
  "luminance": 0.01655
}

Semantic roles & 50–950 ramp

primary
#301055
secondary
#648F32
accent
#EB3D9A
background
#F6F4F8
surface
#ECE7EF
border
#C7C3CA
text
#07020B
muted
#7A787C

Preview Lab

Preview with #301055

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

Preview Lab → · Contrast checker → · Palette generator →

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