#30265E#30265E

#30265E is a dark, moderate violet. Relative luminance 0.028; OKLCH L 31.3% C 0.096 H 287.7°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#30265E
RGBrgb(48, 38, 94)
HSLhsl(251, 42%, 26%)
HSVhsv(251, 60%, 37%)
CMYKcmyk(48.9%, 59.6%, 0%, 63.1%)
CIE-LABlab(19.32, 20.69, -32.04)
CIE-LCHlch(19.32, 38.14, 302.85°)
OKLaboklab(31.3% 0.0292 -0.0913)
OKLCHoklch(31.3% 0.096 287.7)
XYZxyz(3.9318, 2.8226, 10.9252)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30265E #545E26
analogous
#26385E #30265E #4C265E
triadic
#30265E #5E3026 #265E30
tetradic
#30265E #5E2638 #545E26 #265E4C
square
#30265E #5E2638 #545E26 #265E4C
split-complementary
#30265E #5E4C26 #385E26
monochromatic
#0B0916 #1A1432 #30265E #46388A #5D49B5

Accessibility & contrast

On white

13.42
#30265E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#30265E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30265E
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30265E#FFFFFF#000000##FFFFFF
##30265E1.0013.421.5613.42
#FFFFFF13.421.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#063060
Deuteranopia (green-blind)
#072D5D
Tritanopia (blue-blind)
#22323E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #30265e;
/* rgb */ color: rgb(48, 38, 94);
/* oklch */ color: oklch(31.3% 0.096 287.7);
Tailwind
colors: {
  custom: {
    50: '#6c608c',
    500: '#30265e',
    950: '#000000',
  },
}
SCSS
$custom: #30265e;
$custom-light: #6c608c;
$custom-dark: #000000;
JSON
{
  "hex": "#30265e",
  "rgb": {
    "r": 48,
    "g": 38,
    "b": 94
  },
  "hsl": {
    "h": 250.714,
    "s": 42.424,
    "l": 25.882
  },
  "oklch": {
    "l": 0.313,
    "c": 0.09589,
    "h": 287.7
  },
  "luminance": 0.02823
}

Semantic roles & 50–950 ramp

primary
#30265E
secondary
#85914F
accent
#D256BC
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#07050C
muted
#7A797D

Preview Lab

Preview with #30265E

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

Preview Lab → · Contrast checker → · Palette generator →

#30265E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva